# getHour

Industry: Core

## Signature

```ts
getHour(): string
```

Return the current hour using the system timeZone.

- Uses Temporal.Now.plainDateTimeISO() to get current hour in system timezone.
- Returns zero-padded string (e.g., "14").
- Returns "" when system timezone is unavailable.

## Returns

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

## Examples

```ts
import { getHour } from "@northguild/gmt/plain/get";

getHour() // "00"
```

## Source

[plain/get/getHour.ts](https://github.com/northguild/gmt/blob/main/packages/gmt/src/plain/get/getHour.ts)
