[Javascript] Q on TimeZone
Hassan Schroeder
hassan at webtuitive.com
Wed Sep 12 16:19:36 CDT 2001
Walter Torres wrote:
> My data is...
>
> 14:30:00-08:00 I read this as 2:30pm Pacific Time
> 14:30:00+03:00 I read this as 2:30pm Moscow Time
>
> When I get this data, I need to setup my 'enviornment' to reflect the TZ
> that the data says it is.
>
> I know how to set this up so the 'current time' is 2:30pm, but I am unclear
> on how to make the 'current' TZ Moscow time.
Uh, well. To the best of my knowledge, you can't - TZ is an attribute
of your system clock setting.
Note that there's a getTimezoneOffset() but no setTimezoneOffset(),
so I'm pretty sure TZ is read-only.
Sorry!
--
H*
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
-- creating dynamic Web sites and applications since 1994 --
More information about the Javascript
mailing list