ChronosChronos

toTimeString

Returns a string representation of the time portion of the date.

toTimeString()

Returns a string representation of the time portion of the date.

Signature

toTimeString(): string

Return Type

string - Time string

Notes

  • Returns localized string representation.
  • Includes timezone information when an instance created with timeZone method.

Note

It is different than native Date.prototype.toTimeString().

Example

playground.ts

Last updated: Fri, Jun 19, 2026 06:06:59PM (UTC)

On this page