Since you will have a functioning internet connection,
the quick answer would be to ping one of the many free time servers out there.
Google search and choose the one you like.

Jim Ault
Las Vegas

On Aug 31, 2009, at 2: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
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Jim Ault
jimaultw...@yahoo.com



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

Reply via email to