---
name: "BIS_fnc_key_setTime"
type: function
status: ok
groups: ["Key"]
arma3_since: "1.78"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_key_setTime
revid: 279151
updated: 2021-06-13T21:49:24Z
---

# BIS_fnc_key_setTime

*Function · Key · Arma 3 v1.78*

## Description

Set's the time of given key

## Syntax

```sqf
[] call BIS_fnc_key_setTime
```

**Parameters:**

- `param0` — 0: Object     - The key
- `param1` — 1: Float    - The new time

**Returns:** Nothing

## Function header

The comment at the top of the function's file in the game; this page's description, params, returns come from it.

```sqf
/*
Author: Nelson Duarte <@Nelson_G_Duarte>

Description:
Set's the time of given key

Parameter(s):
_this select 0: Object     - The key
_this select 1: Float    - The new time

Returns:
Nothing
*/
```

<sub>Source: [BI Community Wiki — BIS fnc key setTime](https://community.bistudio.com/wiki/BIS_fnc_key_setTime) (revision 279151).</sub>
