Name

Date.toUTCString( ) — convert a Date to a string (universal time)

Availability

JavaScript 1.2; JScript 3.0; ECMAScript v1

Synopsis

                  date.toUTCString(  )

Returns

A human-readable string representation, expressed in universal time, of date.

Description

toUTCString( ) returns an implementation-dependent string that represents date in universal time.

Get JavaScript: The Definitive Guide, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.