Date.toLocaleString() returns this in Chrome:
- Mon Jan 18 2010 16:47:42 GMT+1100 (AUS Eastern Daylight Time)
In firefox, it's this:
- Monday, 18 January 2010 4:47:42 PM
Browser version doesn't seem to matter. Anyone have a suggestion on this one?
Date.toLocaleString() returns this in Chrome:
In firefox, it's this:
Browser version doesn't seem to matter. Anyone have a suggestion on this one?
As CMS answered above, these methods can return pretty much anything they want, hopefully in a representation that is readable to someone in that locale (language + cultural conventions) To obtain a particular formatting of a Date, you need to use a library like DateJS or Dojo.