Internet Time
Gordon Webster
gwalias-rev at yahoo.com
Tue May 3 14:10:24 EDT 2005
Dear Revvers
Maybe I'm missing something, but when I convert an
internet date like this "Tue, 3 May 2005 14:00:44
-0400" into seconds, it doesn't take account of the
time zone component. So for example, if I edit the
internet date string to alter the time zone, (e.g.
like this "Tue, 3 May 2005 14:00:44 -0300")the
"convert" operation gives exactly the same result in
seconds.
Now I know that it would be a piece of cake to simply
subtract an hours worth of seconds for each hour shift
in the time zone field, but before I go ahead and
write my "AbsoluteWorldTime" function, I just want to
be sure that this doesn't already exist via some other
means within Rev.
Basically I want a time function that is "time-zone
aware" and can figure out what order events occurred
in, even if they took place in different time zones.
Maybe I didn't read the manual thoroughly enough, but
I find it hard to believe that this function doesn't
already exist in rev, especially for internet
applications that must work with different time zones.
Am I just being a big doofus here?
Best
Gordon
More information about the use-livecode
mailing list