control panel date&time is considered while using "new date()" javascript function.
Posted
by Rupa
on Stack Overflow
See other posts from Stack Overflow
or by Rupa
Published on 2009-10-05T08:57:21Z
Indexed on
2010/04/03
23:03 UTC
Read the original article
Hit count: 296
Hi,
I am getting a client date in javscript function using "new date()" object. But this object is considering the properties set for Date&Time control in the control panel of the system.
For example, If I check the check box of Date&Time control of the system (control panel) "Automatically adjust clock for daylight saving changes", then I am getting the date(from javscript) according to the Daylight savings time and if I uncheck it, I am getting the date according to the standard time.
What I need is to get the date from a Javscript function irrespective of the Date&Time control of the control panel.
Thanks Rupa.
© Stack Overflow or respective owner