toTimeString Method

Returns a time as a string value.

function toTimeString() : String

Remarks

The toTimeString method returns a string value containing the time, in the current time zone, in a convenient, easily read format.

Requirements

Version 5.5

Applies To:

Date Object

See Also

Reference

toDateString Method

toLocaleTimeString Method