# NETWORK::IS_TIME_LESS_THAN

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

## Signature

```c
BOOL IS_TIME_LESS_THAN(int timeA, int timeB);
```

## Parameters

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

## Returns

`BOOL`

## Description

Subtracts the second argument from the first, then returns whether the result is negative.

## Usage

### Lua

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

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

### JavaScript

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

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
