Date.toUTCString() (Method)

Converts a Date object to a string with UTC time.

Availability:

ECMAScript edition - 2
JavaScript - 1.2
JScript - 3.0
Internet Explorer - 4.0
Netscape - 4.0
Property/method value type:String primitive
JavaScript syntax:-myDate.toUTCString()

This method returns a string value. The contents of the string are implementation-dependent, but are intended to represent the date in a convenient, human-readable form in UTC coordinates.

See also:Cast operator, Date.prototype, Date.toGMTString()

Cross-references:

ECMA 262 edition 2 - section - 15.9.5.40

ECMA 262 edition 3 - section - 15.9.5.42