# CLOCK::GET_CLOCK_SECONDS

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

## Signature

```c
int GET_CLOCK_SECONDS();
```

## Returns

`int`

## Description

Gets the current ingame clock second. Note that ingame clock seconds change really fast since a day in RDR is only 48 minutes in real life.

## Usage

### Lua

```lua
local retval = GetClockSeconds()

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

### JavaScript

```js
const retval = GetClockSeconds();

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
