CBA_fnc_weekDay

Description

Calculates date’s day of the week using a modified Rata Die method with fractional years.

Parameters

_dateDate of [year, month, day].  ARRAY

Returns

Day of the week (0: Sunday, 6: Saturday, -1: invalid) <NUMBER>

Examples

[systemTimeUTC] call CBA_fnc_weekDay;
[date] call CBA_fnc_weekDay;
[[2022, 2, 16]] call CBA_fnc_weekDay;

Author

Jonpas

Array to read from [Array]
Close