On-Rev and Daylight Savings Time
Thomas McGrath III
mcgrath3 at mac.com
Mon Aug 31 21:46:10 EDT 2009
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
3mcgrath at comcast.net
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
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list