Which JavaScript method is used to convert a date to a UTC string (a date display standard)?

74. Which JavaScript method is used to convert a date to a UTC string (a date display standard)?

  1. toUTCString()
  2. toUtcString()
  3. utcString()
  4. toutcstring()

Answer: A) toUTCString()

Explanation:

The JavaScript method toUTCString() is used to convert a date to a UTC string (a date display standard).

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.