1. Date.parse()
  2. Date.UTC()
  3. Both Date.parse() and Date.UTC()
  4. None of the mentioned
4 views

1 Answers

Answer: Option 3

Date.parse() parses a string representation of a date and time and returns the internal millisecond representation of that date. Date.UTC() Returns the millisecond representation of the specified UTC date and time.

4 views