This documentation is archived and is not being maintained.

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

See Also

toDateString Method | toLocaleTimeString Method

Applies To: Date Object

Show: