BIS fnc isDateTimeNewer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|s1= +" to "|s1= ") |
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= [date_1,date_2] call [[BIS_fnc_isDateTimeNewer]] | |s1= [date_1, date_2] call [[BIS_fnc_isDateTimeNewer]] | ||
|p1= | |p1= date_1: [[Array]] format [[Date]] - date 1 | ||
|p2= | |||
|p2= date_2: [[Array]] format [[Date]] - date 2 | |||
|r1= [[Boolean]] | |r1= [[Boolean]] | ||
|x1= <code>_isNewer = [ [2035,5,28,13,37],[2032,5,28,13,37] ] [[call]] [[BIS_fnc_isDateTimeNewer]];</code> | |x1= <code>[[private]] _isNewer = [<nowiki/>[2035,5,28,13,37], [2032,5,28,13,37]] [[call]] [[BIS_fnc_isDateTimeNewer]];</code> | ||
|seealso= [[date]], [[BIS_fnc_compareDateTimes]], [[BIS_fnc_calculateDateTime]] | |seealso= [[date]], [[BIS_fnc_compareDateTimes]], [[BIS_fnc_calculateDateTime]] | ||
}} | }} |
Revision as of 11:30, 8 December 2021
Description
- Description:
- Returns true if the first passed datetime is newer than the second one.
- Execution:
- call
- Groups:
- Environment
Syntax
- Syntax:
- [date_1, date_2] call BIS_fnc_isDateTimeNewer
- Parameters:
- date_1: Array format Date - date 1
- date_2: Array format Date - date 2
- Return Value:
- Boolean
Examples
- Example 1:
private _isNewer = [[2035,5,28,13,37], [2032,5,28,13,37]] call BIS_fnc_isDateTimeNewer;
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