Home »
MCQs »
JavaScript MCQs
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)?
- toUTCString()
- toUtcString()
- utcString()
- toutcstring()
Answer: A) toUTCString()
Explanation:
The JavaScript method toUTCString() is used to convert a date to a UTC string (a date display standard).