Description
Calculate sunrise and sunset time.
Syntax
date call BIS_fnc_sunriseSunsetTime
Parameters:
Returns: Array of Number - [sunriseTime, sunsetTime]. Returns special values when the world position is behind the polar cicle: [0,-1] - polar summer (i.e., no sunset), [-1,0] - polar winter (i.e., no sunrise).
Examples
Example 1
private _sunriseSunsetTime = date call BIS_fnc_sunriseSunsetTime; // get sunrise/sunset time for the current date