Profile
Achievement
wizard04's Recent SnippetsTagged date
- All /
« Prev 1 Next »
This requires my [date formatting script](http://snipplr.com/view/54806/javascript-date-formatting/).
(date).toISO() converts the Date object to an ISO 8601 string
Date.fromISO() converts an ISO 8601 string to a Date object
0
1017
posted 13 years ago by wizard04
Format a date into a string using several string variables.
Usage:
(new Date("6/6/2011")).format("%W, %B %d%o, %Y");
Result:
Monday, June 6th, 2011
0
1050
posted 13 years ago by wizard04