Skip to content

Date and time
@localizer/format 1.0.1

dateTime ( 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).

This formatter displays date and time based on the user's locale.

Examples: