Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: REBOL time is cool

From: dness:home at: 19-Jun-2001 13:44

[ryan--christiansen--intellisol--com] wrote:
> Very good point. How can I set the /zone value for 'now to GMT? > > David Ness > <[DNess--Home--C] To: [rebol-list--rebol--com] > om> cc: > Sent by: Subject: [REBOL] Re: REBOL time is cool > rebol-bounce@ > >
... The most widely shared convention across Dos/Unix/Windows is to interrogate the `TZ' environmental variable which is (using mine as an example) something like EST5EDT indicating that the `names' for standard and summer time in my zone are EST and EDT respectively and the UTC (it's not called GMT anymore) is obtained correction (for standard time) is 5 hours (i.e. you add 5 hours to my indicated clock to get UTC).