Future Events and Summertime/ DLST

Matt Denton matt.denton at limelight.com.au
Fri Mar 1 02:24:01 EST 2002


Hi all,

THE ISSUE
I'm trying to send a future event message, with a construct something 
like: "send <somemessage> to me at <12:00pm> on  <june 12, 2002>".   I'm 
converting everything to seconds, adding to a Master event list and 
comparing to the current time to each item in the list.

Problem is the future time in seconds is incorrect when you pass in or 
out of summertime/ daylight savings time.  Convert "June 12, 2002" to 
seconds doesn't take into account summertime/ daylight savings time in 
each country (I think?? Can anyone at Rev confirm??)

MY QUESTION
Just a quick question: does anyone know where I can find the rules for 
summertime/ day-light saving time for all countries of the world?  I've 
hunted but only found snippets of info, nothing comprehensive.

Just thought I'd tickle the list in case someone has dealt with this 
issue before.  And thanks in advance to anyone who has an answer!

Cheers,

Matt Denton




More information about the use-livecode mailing list