File time off by an hour...
Keith (Gulf Breeze Ortho Lab)
keith at gulfbreezeortholab.com
Wed Dec 21 19:08:40 EST 2011
Hmmmm. No responses to this. I did experiment a bit and noticed that when I
set my PC's time zone to Eastern time in lieu of Central time, the file
times show correctly. Also, without switching time zones, the file dates
show an hour behind for files saved during months falling in daylight
savings, and show correctly for files saved during months not falling in
daylight savings... Weird. Is this a bug? Anyone have a workaround?
Thanks,
- Boo
-----Original Message-----
From: Keith (Gulf Breeze Ortho Lab)
Sent: Wednesday, December 21, 2011 1:04 AM
To: How to use LiveCode
Subject: File time off by an hour...
Hi All,
I am using detailed files to obtain a file's date and time modified
(converting it to short date and short time)... All works well, but I
noticed the following... Several of my files have a date of 9/24/11 with a
time of 2:26 PM (as shown in Windows explorer). However, when I obtain and
convert the date and time in LiveCode, the date appears correctly, but the
time is off by 1 hour and shows as 1:26 PM in lieu of 2:26 PM. However, when
I open the file and save it, it shows the correct time after modifying the
file. (The problem seems to be with older files from several months back.)
Does this have something to do with daylight savings time or something? How
can I ensure that the file modified time that's shown in a LiveCode app.
appears exactly as it appears in Windows explorer? FYI: I am on Central Time
here...
Thanks,
- Boo
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list