Date.toTimeString() (Method)

The value of the Date object is presented just as a time.

Availability:

ECMAScript edition - 3
JavaScript - 1.5
JScript - 5.5
Internet Explorer - 5.5
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myDate.toTimeString()

The date value is removed and only the time value is presented by this method.

Cross-references:

ECMA 262 edition 3 - section - 15.9.5.4