Skip to content

getMinute

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

Return the current minute using the system timeZone.

  • Uses Temporal.Now.plainDateTimeISO() to get current minute in system timezone.
  • Returns zero-padded string (e.g., “30”).
  • Returns "" when system timezone is unavailable.

current minute string (zero-padded) or "" on invalid

import { getMinute } from "@northguild/gmt/plain/get";
getMinute() // "00"
output 

plain/get/getMinute.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.