---
name: "BIS_fnc_fixDate"
type: function
status: ok
groups: ["Math", "Environment"]
arma3_since: "1.10"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_fixDate
revid: 329336
updated: 2022-07-27T10:16:56Z
---

# BIS_fnc_fixDate

*Function · Math, Environment · Arma 3 v1.10*

## Description

Checks the array with date data and makes sure the values are within the boundries.

## Syntax

```sqf
date call BIS_fnc_fixDate
```

**Parameters:**

- `date`: [Array](../topics/Array.md) format Date - date to be checked

**Returns:** [Array](../topics/Array.md) format Date - resulting date

## Examples

### Example 1

```sqf
private _fixedDate = [2033, -2, 89, 25, 75] call BIS_fnc_fixDate;
```

## See also

[date](../commands/date.md) · [setDate](../commands/setDate.md)

<sub>Source: [BI Community Wiki — BIS fnc fixDate](https://community.bistudio.com/wiki/BIS_fnc_fixDate) (revision 329336).</sub>
