On-Rev and Daylight Savings Time (Addendum)
Gregory Lypny
gregory.lypny at videotron.ca
Mon Aug 31 23:07:05 EDT 2009
Just a little more detail on my previous post. Would appreciate
anyone confirming that iRev does not adjust for local Daylight Savings
Time or I've misunderstood something because this has the potential to
really mess up my work if I get it wrong.
There's a difference of one hour as this code in iRev
<?rev
put the seconds & "</br>"
convert the seconds to dateItems
put it & "</br>"
put the long time
?>
returns
1251773601
2009,8,31,21,53,21,2
9:53:21 PM
and the equivalent handler in Revolution
put the seconds
convert the seconds to dateItems
put return & it after msg
put return & the long time after msg
run three seconds later, returns
1251773604
2009,8,31,22,53,24,2
10:53:24 PM
Sigh,
Gregory
Frustrated in Montreal (DST)
More information about the use-livecode
mailing list