JavaScript: The Definitive Guide
24.64. Date.toLocaleTimeString( ): return the time portion of a Date as a locally formatted string
ECMAScript v3
24.64.1. Synopsis
date.toLocaleTimeString( ) 24.64.1.1. Returns
An implementation-dependent, human-readable string representation of the time portion of date, expressed in the local time zone and formatted according to local conventions. 24.64.2. See Also
Date.toDateString( ), Date.toLocaleDateString( ), Date.toLocaleString( ), Date.toString( ), Date.toTimeString( ) |
Категории