Date Conversion Problem
Gregory Lypny
gregory.lypny at videotron.ca
Wed Dec 12 12:30:14 EST 2007
Hello everyone,
A date conversion problem has cropped up in one of my stacks. I have
a handler that starts with
set useSysemDate to true
I'm processing tab-delimited text files, so later in the handler I
have the line
convert the fourth item of aData[theDate] to abbrev English date
Now, the dates in the text file are in short format, dd/mm/yyyy, e.g.,
10/12/2007 for Monday, December 10th, and I'm converting them to my
system's medium format in Leopard, which is Mon, Dec 10, 2007, but
what I'm getting is the incorrect date because it is coming out in
American format, mm/dd/yyyy or Fri, Oct 12, 2007.
Is this a Leopard problem? Because I never had it before I upgraded.
Dates are critical to my work, so any suggestions would be most
appreciated.
Incidentally, I'm using Revolution 2.8.1 Build 470 and Leopard 10.5.1
on an Intel iMac.
Regards,
Gregory
More information about the use-livecode
mailing list