BIS fnc isDateTimeNewer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.86 | |1.86 | ||
|gr1 = Environment | |gr1 = Environment | ||
| Returns true if the first passed datetime is newer than the second one. | | Returns true if the first passed datetime is newer than the second one. | ||
| [date_1,date_2] call [[BIS_fnc_IsDateTimeNewer]] | | [date_1,date_2] call [[BIS_fnc_IsDateTimeNewer]] | ||
|p1= '''date_1''': [[Array]] - Date No. 1 | |p1= '''date_1''': [[Array]] - Date No. 1 | ||
|p2= '''date_2''': [[Array]] - Date No. 2 | |p2= '''date_2''': [[Array]] - Date No. 2 | ||
| [[Boolean]] | | [[Boolean]] | ||
|x1= <code>_isNewer = [ [2035,5,28,13,37],[2032,5,28,13,37] ] [[call]] [[BIS_fnc_IsDateTimeNewer]];</code> | |x1= <code>_isNewer = [ [2035,5,28,13,37],[2032,5,28,13,37] ] [[call]] [[BIS_fnc_IsDateTimeNewer]];</code> | ||
|[[date]], [[BIS_fnc_CompareDateTimes]], [[BIS_fnc_calculateDateTime]] | |[[date]], [[BIS_fnc_CompareDateTimes]], [[BIS_fnc_calculateDateTime]] | ||
}} | }} | ||
[[Category:Functions|{{uc:IsDateTimeNewer}}]] | [[Category:Functions|{{uc:IsDateTimeNewer}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:IsDateTimeNewer}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:IsDateTimeNewer}}]] |
Revision as of 23:07, 17 January 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 - Date No. 1
- date_2: Array - Date No. 2
- Return Value:
- Boolean
Examples
- Example 1:
_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