BIS fnc compareDateTimes: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ") |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3") |
||
(5 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
|descr= Returns the newer date or returns true if they are identical. | |descr= Returns the newer date or returns true if they are identical. | ||
|s1= | |s1= [date1, date2] call [[BIS_fnc_compareDateTimes]] | ||
|p1= | |p1= date1: [[Array]] format [[Date]] | ||
|p2= | |p2= date2: [[Array]] format [[Date]] | ||
|r1=[[Boolean]] or [[Array]] | |r1= [[Boolean]] or [[Array]] | ||
|x1= < | |x1= <sqf>[[2035,5,28,13,37], [2032,5,28,13,37]] call BIS_fnc_compareDateTimes;</sqf> | ||
|seealso= [[date]] | |seealso= [[date]] [[BIS_fnc_isDateTimeNewer]] [[BIS_fnc_calculateDateTime]] | ||
}} | }} |
Latest revision as of 12:53, 1 July 2022
Description
- Description:
- Returns the newer date or returns true if they are identical.
- Execution:
- call
- Groups:
- Environment
Syntax
- Syntax:
- [date1, date2] call BIS_fnc_compareDateTimes
- Parameters:
- date1: Array format Date
- date2: Array format Date
- Return Value:
- Boolean or Array
Examples
- Example 1:
Additional Information
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