0

what date strings are considered valid to pass to the javascript date object constructor to initialize a date object.

1
  • The same strings that are deemed valid by parse(). Commented Aug 31, 2012 at 12:25

1 Answer 1

3

according to MDN:

The string should be in a format recognized by the parse method (IETF-compliant RFC 2822 timestamps).

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.