BIS fnc fixDate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Execution " to "|Execution= ")
m (Text replacement - "\[\[Category\:Function Group\: Misc(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 38: Line 38:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Misc|{{uc:fixDate}}]]
 
[[Category:Functions|{{uc:fixDate}}]]
[[Category:Functions|{{uc:fixDate}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:fixDate}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:fixDate}}]]

Revision as of 09:56, 10 October 2020

Hover & click on the images for description

Description

Description:
Checks the array with date data and makes sure, the values are within the boundries.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
date call BIS_fnc_fixDate
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


Notes

Bottom Section