Skip to content

getZonedMinute

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

Return the current minute for the specified IANA timeZone.

  • Uses Temporal.Now.zonedDateTimeISO() to get the current time.
  • Validation is performed on the timezone.
ParameterTypeDescription
ianaTimezonestringIANA name or UTC offset: a time zone identifier (+05:30, +0530, -08) or a stored offset (±HH:MM[:SS], what getTimeZoneOffset returns)

current minute string (zero-padded to 2 digits) or "" on invalid input

import { getZonedMinute } from "@northguild/gmt/zoned/get";
getZonedMinute("Asia/Kolkata") // "00"
output 

zoned/get/getZonedMinute.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.