I’ve been trying basic toString on the javascript date object, and after it wasn’t working I went to http://www.w3schools.com/jsref/jsref_tostring_date.asp and the two examples they give show the same values!!
Original form: Thu Dec 01 2011 12:15:52 GMT+1300 (New Zealand Daylight Time)
To string: Thu Dec 01 2011 12:15:52 GMT+1300 (New Zealand Daylight Time)
w3schools is not a good JavaScript reference. It has numerous issues and should not be trusted.
one of my first questions was about where to find a comprehensive JavaScript reference.
The Mozilla Development Network has a more accurate reference for the
Dateobject.