Skip to content

getUtcNow

  • The core functions, which every industry uses.
getUtcNow(): string

Return the current UTC instant as an ISO Instant string.

  • Uses Temporal.Now.instant() to get current UTC time.

ISO Instant string (e.g. “2024-02-29T00:00:00Z”)

import { getUtcNow } from "@northguild/gmt/utc/get";
getUtcNow() // "2024-02-29T00:00:00Z"
output 

utc/get/getUtcNow.ts

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.