Skip to content

utc/get

  • getUtcDay: Return the current day from UTC as a zero-padded string.
  • getUtcHour: Return the current hour from UTC as a zero-padded string.
  • 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.