And What About the Internet Date and Time?

Gregory Lypny gregory.lypny at videotron.ca
Fri Aug 19 13:14:34 EDT 2011


Hi Peter,

Yes, seconds converted from UTC is the only reliable timestamp.  I asked about time zone settings in local machines for display purposes.  We may have a timestamp that is absolutely correct but if that is to be displayed for the user in a LiveCard app on their local machine, say as a confirmation or receipt, it will not display the correct time unless the user’s time zone is set correctly.

Gregory


On Fri, Aug 19, 2011, at 12:53 PM, use-livecode-request at lists.runrev.com wrote:

> AFAIK, It doesn't matter. You can just fetch the universal (GMT) time and convert it to seconds. This will be independent of the time zone the user sets. If someone in Australia submits data one second after someone in New York, the timestamp will be 1313704257 in the first case and 1313704258 in the second case. Ignore the time zone altogether. (Someone correct me if I'm wrong, but I just tested this, changing my time zone in my system settings in between trials, and indeed, the two results were within 30 seconds.)
> 
> -- Peter




More information about the use-livecode mailing list