Skip to content
getUnixDay: Return the current day from the Unix timestamp in UTC as a zero-padded string.
getUnixHour: Return the current hour from the Unix timestamp in UTC as a zero-padded string.
getUnixMicrosecond: Return the current microsecond from the Unix timestamp in UTC as a zero-padded string.
getUnixMillisecond: Return the current millisecond from the Unix timestamp in UTC as a zero-padded string.
getUnixMinute: Return the current minute from the Unix timestamp in UTC as a zero-padded string.
getUnixMonth: Return the current month from the Unix timestamp in UTC as a zero-padded string.
getUnixNanosecond: Return the current nanosecond from the Unix timestamp in UTC as a zero-padded string.
getUnixNow: Return the current Unix timestamp in either seconds or milliseconds.
getUnixNowUnit: Return the requested unit value from the current Unix timestamp in UTC.
getUnixSecond: Return the current second from the Unix timestamp in UTC as a zero-padded string.
getUnixYear: Return the current year from the Unix timestamp in UTC as a zero-padded string.
UnixNowUnit: Units extractable from the current Unix timestamp in UTC via getUnixNowUnit.