posted 18 years ago
The date constructor only accepts certain formats. They are
Date() - Used for current date or create an instance of the date object
Date(dateString) - Sepcify a Date/ String format is "month day, year hours:minutes:seconds" or "MM/DD/YY HH:MM:SS".
Date(year, month, day, hours, minutes, seconds) - Create an instance of date with the specified values. Can be just (year, month, date)
Eric