2.2.5 [ECMA-262/5] Section 15.9.5.4, Date.prototype.toTimeString ()

C0003:

The specification states:

 This function returns a String value. The contents of the String are implementation-dependent, but are intended to represent the "time" portion of the Date in the current time zone in a convenient, human-readable form.

IE9 Mode, IE10 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)

The returned String value is determined from the following steps:

  1. Let tv be the time value.

  2. If tv is NaN, return the string "NaN".

  3. Let t be LocalTime(tv).

  4. Using t, create a string value that has the following format, according to the items that are defined in section 2.1.18 of this document:

    hh:mm:ssbzzzzzz

  5. Return Result(4).