BIS fnc isDateTimeNewer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 8: | Line 8: | ||
|descr= Returns true if the first passed datetime is newer than the second one. | |descr= Returns true if the first passed datetime is newer than the second one. | ||
|s1= [ | |s1= [date1, date2] call [[BIS_fnc_isDateTimeNewer]] | ||
|p1= | |p1= date1: [[Array]] format [[Date]] | ||
|p2= | |p2= date2: [[Array]] format [[Date]] | ||
|r1= [[Boolean]] | |r1= [[Boolean]] | ||
|x1= < | |x1= <sqf>private _isNewer = [[2035,5,28,13,37], [2032,5,28,13,37]] call BIS_fnc_isDateTimeNewer;</sqf> | ||
|seealso= [[date]], [[BIS_fnc_compareDateTimes]], [[BIS_fnc_calculateDateTime]] | |seealso= [[date]], [[BIS_fnc_compareDateTimes]], [[BIS_fnc_calculateDateTime]] | ||
}} | }} |
Revision as of 19:49, 3 May 2022
Description
- Description:
- Returns true if the first passed datetime is newer than the second one.
- Execution:
- call
- Groups:
- Environment
Syntax
- Syntax:
- [date1, date2] call BIS_fnc_isDateTimeNewer
- Parameters:
- date1: Array format Date
- date2: Array format Date
- Return Value:
- Boolean
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