[Javascript] Q on TimeZone
Walter Torres
walter at torres.ws
Wed Sep 12 16:00:02 CDT 2001
OK. I'm being dence with this I think. Sorry.
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.
Does this help?
Walter
> -----Original Message-----
> From: javascript-admin at LaTech.edu
> [mailto:javascript-admin at LaTech.edu]On
> Behalf Of Hassan Schroeder
> Sent: Wednesday, September 12, 2001 10:37 AM
> To: javascript at LaTech.edu
> Subject: Re: [Javascript] Q on TimeZone
>
>
> Walter Torres wrote:
>
> > I have a database that contains timestamps, and GMT offsets.
> >
> > I want to convert these values into Date Objects.
>
> ... that reflect what? the original date/time converted to your own
> client's local time? to the original date/time in GMT/UTC?
>
> In any case, if you need to add or subtract minutes, doing it using
> Date.UTC(yr, mon, day, hr, min, sec) with the 'min' adjusted by the
> offset would seem to be the easiest.
>
> HTH!
> --
> H*
> Hassan Schroeder ----------------------------- hassan at webtuitive.com
> Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
>
> -- creating dynamic Web sites and applications since 1994 --
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> http://www.LaTech.edu/mailman/listinfo/javascript
More information about the Javascript
mailing list