BIS fnc fixDate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <!--- |exec= spawn --->" to "")
m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=")
Line 15: Line 15:
|p1= date: [[Array]] - Date to be checked in form of: [year, month, day, hour, minute]
|p1= date: [[Array]] - Date to be checked in form of: [year, month, day, hour, minute]


| [[Array]] - Fixed date [year, month, day, hour, minute]
|r1= [[Array]] - Fixed date [year, month, day, hour, minute]


|x1= <code>_fixedDate = [2033,-2,89,25,75] [[call]] [[BIS_fnc_fixDate]];</code>
|x1= <code>_fixedDate = [2033,-2,89,25,75] [[call]] [[BIS_fnc_fixDate]];</code>

Revision as of 14:21, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
MathEnvironment

Syntax

Syntax:
Syntax needed
Parameters:
date: Array - Date to be checked in form of: [year, month, day, hour, minute]
Return Value:
Array - Fixed date [year, month, day, hour, minute]

Examples

Example 1:
_fixedDate = [2033,-2,89,25,75] call BIS_fnc_fixDate;

Additional Information

See also:
datesetDate

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note