# NETWORK::GET_TIME_OFFSET

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

## Signature

```c
int GET_TIME_OFFSET(int timeA, int timeB);
```

## Parameters

- `timeA` (`int`)
- `timeB` (`int`)

## Returns

`int`

## Description

Adds the first argument to the second.

## Usage

### Lua

```lua
local retval = GetTimeOffset(timeA, timeB)

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

### JavaScript

```js
const retval = GetTimeOffset(timeA, timeB);

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

### C#

```csharp
int retval = Function.Call<int>((Hash)0x017008CCDAD48503, timeA, timeB);
```

*Sources: alloc8or RDR3 NativeDB.*
