# CLOCK::GET_CLOCK_HOURS

- **Hash:** `0xC82CF208C2B19199`
- **Namespace:** CLOCK
- **Runtime name (Lua/JS):** `GetClockHours`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/CLOCK/GET_CLOCK_HOURS

## Signature

```c
int GET_CLOCK_HOURS();
```

## Returns

`int`

## Description

Gets the current ingame hour, expressed without zeros. (09:34 will be represented as 9)

## Usage

### Lua

```lua
local retval = GetClockHours()

-- always available, by hash
local retval = Citizen.InvokeNative(0xC82CF208C2B19199, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetClockHours();

// by hash
const retval = Citizen.invokeNative('0xC82CF208C2B19199', Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0xC82CF208C2B19199);
```

*Sources: alloc8or RDR3 NativeDB.*
