I believe the servers for on-rev are in Texas so I think that is where you are getting the 4:52 from. It will be consistent with texas time so you can add or take away from that.

HTHs


Tom McGrath III
Lazy River Software
[email protected]

iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html






On Aug 31, 2009, at 5:58 PM, Gregory Lypny wrote:

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.
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to