File time off by an hour...

Keith (Gulf Breeze Ortho Lab) keith at
Thu Dec 22 15:31:19 EST 2011

Thanks Bernard. I put together some code that will work for practical 
purposes (i.e., utilizing internet time and time zone), but it's still not a 
perfect solution. For now, I will just list the file dates without times...

Cheers from Florida,

- Boo

-----Original Message----- 
From: Bernard Devlin
Sent: Thursday, December 22, 2011 3:12 AM
To: How to use LiveCode
Subject: Re: File time off by an hour...


It seems this issue has come up with Windows and other programming
languages (included those supplied by Microsoft!)

In one of the above examples, the user is on CST (maybe that is a factor).

There have been discussions on the list before about converting
date-times between seconds and e.g. internet time.  Instead of using
the short date & time, why don't you run through your file list, and
convert the file time into a list of values, e.g. short date and time,
internet date, etc.  You may find with one of them the difference

Also, you could try setting the useSystemDate to true v. false, and
see what you get.

This is a tricky area (really we should all just be on GMT!), as
evinced by the two discussions above from Stack Overflow.


On Thu, Dec 22, 2011 at 12:08 AM, Keith (Gulf Breeze Ortho Lab)
<keith at> wrote:
> Hmmmm. No responses to this.

use-livecode mailing list
use-livecode at
Please visit this url to subscribe, unsubscribe and manage your subscription 

More information about the Use-livecode mailing list