On-Rev and Daylight Savings Time

Gregory Lypny gregory.lypny at videotron.ca
Mon Aug 31 17:58:08 EDT 2009


Hello everyone,

How can I handle daylight savings time in my On-Rev code?  We're  
currently in DST in Montreal.  When I type

	put the long time

in Revolution's message box, I get the correct time as

	5:52:13 PM

but when I ask for the long time in an On-Rev handler I get

	4:52:13 PM

which is standard time.

Getting the correct local time, at least within a half hour, is  
critical because it is being used to determine the start and end of an  
online experiment, and I can't have subject submitting form data  
outside those times.

Much obliged,

Gregory

P.S.  I'm using a Mac.



More information about the use-livecode mailing list