JScript  

toTimeString Method

Returns a time as a string value.

objDate.toTimeString( )

The required objDate reference is a Date object.

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