Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Help wanted re. Daylight-Saving Time values


  • From: javascript@xxxxxxxxxx (Tim Makins)
  • Subject: [Javascript] Help wanted re. Daylight-Saving Time values
  • Date: Tue, 20 Nov 2001 19:04:29 -0000

Thanks for your comments, Peter. It looks too complicated to achieve - just
thought there might be a genius on this list! I think the only answer is to
manually change the page twice a year - not too arduous...

BTW, getTimezoneOffset does reflect daylight saving time, but only by giving
an altered offset value to gmt. What it doesn't do is to say WHEN daylight
saving time is in operation.

Tim in Ireland.

----- Original Message -----
From: "Peter-Paul Koch" <gassinaumasis@xxxxxxxxxxx>
To: <javascript@xxxxxxxxxx>
Sent: 20 November 2001 09:51
Subject: Re: [Javascript] Help wanted re. Daylight-Saving Time values
> No. In fact, daylight saving is the most complex matter in date and time
> calculating. I always devoutly assume that the browser keeps track of
this,
> and if it doesn't, Too Bad.
>
> As far as I understand getTimezoneOffset should reflect daylight saving
> time, but no doubt some browser will have some bug.
>
> Sorry, I think it would be best to forget about it and hope everything
goes
> well.
>
> ppk