Skip to content

utc/convert

  • The core functions, which every industry uses.
  • convertUtcToPlainDate: Convert a UTC datetime string to a plain date string in the format “YYYY-MM-DD”.
  • convertUtcToPlainDateTime: Convert a UTC datetime string to a plain datetime string in the format “YYYY-MM-DDTHH:mm:ss”.
  • convertUtcToPlainTime: Convert a UTC datetime string to a plain time string in the format “HH:mm:ss”.
  • convertUtcToUnix: Convert a UTC Instant string to a unix epoch value in milliseconds or seconds.
  • convertUtcToZoned: Convert a UTC Instant string to a zoned ISO 8601 datetime string.

Last updated:

Accessibility
© 2026 NorthGuild · Licences

Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.