Name

Date.toTimeString( ): return the time portion of a Date as a string — ECMAScript v3

Synopsis

date.toTimeString( )

Returns

A implementation-dependent, human-readable string representation of the time portion of date, expressed in the local time zone.

See Also

Date.toString( ), Date.toDateString( ), Date.toLocaleDateString( ), Date.toLocaleString( ), Date.toLocaleTimeString( )

Get JavaScript: The Definitive Guide, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.