Ken, Thanks for this. I've been trying it out and all seems to work great.
I notice there are less characters (26) in tReplaceChars than there are items in tFormatWords (28) and the handler code suggests that there should be the same number of characters. I'd like to add a couple more formats (ordinal day number and 3-char time zone) and want to make sure I understand the relationship between those two variables before changing anything. Thanks, Pete Molly's Revenge <http://www.mollysrevenge.com> On Mon, Jul 4, 2011 at 6:24 AM, Ken Ray <[email protected]> wrote: > I have a handler I've been using for a while that works great with > formatting dates. Here it is (sorry for the length, but it's heavily > commented - oh and watch for word wraps): > > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
