---
name: "nextWeatherChange"
type: command
status: ok
groups: ["Environment"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/nextWeatherChange
revid: 310789
updated: 2022-05-07T20:21:49Z
---

# nextWeatherChange

*Command · Environment · Arma 3 v0.50 · introduced in Armed Assault v1.00*

## Description

Return the remaining time (in seconds) over which the current weather change will occur.

When a weather change finishes, the game engine will automatically generate a new random weather change over a realistic time period (minimum of 90 minutes).

## Syntax

```sqf
nextWeatherChange
```

**Returns:** [Number](../topics/Number.md)

## Examples

### Example 1

```sqf
_seconds = nextWeatherChange;
```

## Multiplayer

Each client and the server can have differing weather.

## See also

[fog](../commands/fog.md) · [fogForecast](../commands/fogForecast.md) · [setFog](../commands/setFog.md) · [overcast](../commands/overcast.md) · [setOvercast](../commands/setOvercast.md) · [overcastForecast](../commands/overcastForecast.md) · [forceWeatherChange](../commands/forceWeatherChange.md)

<sub>Source: [BI Community Wiki — nextWeatherChange](https://community.bistudio.com/wiki/nextWeatherChange) (revision 310789).</sub>
