Skip to content

Time
@localizer/format 1.0.1

time ( value: Date | number )

  • value - The value to format. Can be JavaScript Date object or numeric timestamp (milliseconds since January 1, 1970, 00:00:00 UTC).

Outputs the time portion of a date based on the user's locale.

Examples: