Question: I am getting a client date in JavaScript 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 JavaScript) 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 JavaScript function irrespective of the Date&Time control of the control panel. Is there a way to do that?

Answer: 
Or base everything on UTC

Here is a timezone detection ignoring DST. Looks a bit brute force, but I could not find one I used to use <http://www.michaelapproved.com/articles/timezone-detect-and-ignore-daylight-saving-time-dst/>
Why can't you just generate the date from the server-side, where you have more control over this?