Skip to content

utc/get

  • The core functions, which every industry uses.
  • getUtcAgo: Return the UTC instant before now, as an ISO Instant string, counted from the current time.
  • getUtcDay: Return the current day from UTC as a zero-padded string.
  • getUtcHour: Return the current hour from UTC as a zero-padded string.
  • getUtcIn: Return the UTC instant after now, as an ISO Instant string, counted from the current time.
  • getUtcMicrosecond: Return the current microsecond from UTC as a zero-padded string.
  • getUtcMillisecond: Return the current millisecond from UTC as a zero-padded string.
  • getUtcMinute: Return the current minute from UTC as a zero-padded string.
  • getUtcMonth: Return the current month from UTC as a zero-padded string.
  • getUtcNanosecond: Return the current nanosecond from UTC as a zero-padded string.
  • getUtcNow: Return the current UTC instant as an ISO Instant string.
  • getUtcNowUnit: Return the requested unit value from the current UTC instant.
  • getUtcSecond: Return the current second from UTC as a zero-padded string.
  • getUtcYear: Return the current year from UTC as a zero-padded string.
  • UtcNowUnit: Units extractable from the current UTC instant via getUtcNowUnit.

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.