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 - "\|s1= +" to "|s1= ") |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | | |game1= arma3 | ||
|version1= 1.86 | |||
| | |gr1= Environment | ||
| | |descr= Returns true if the first passed datetime is newer than the second one. | ||
| | |s1= [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]] | |r1= [[Boolean]] | ||
|x1= <code>_isNewer = [ [2035,5,28,13,37],[2032,5,28,13,37] ] [[call]] [[ | |x1= <code>_isNewer = [ [2035,5,28,13,37],[2032,5,28,13,37] ] [[call]] [[BIS_fnc_isDateTimeNewer]];</code> | ||
|[[date]], [[ | |seealso= [[date]], [[BIS_fnc_compareDateTimes]], [[BIS_fnc_calculateDateTime]] | ||
}} | }} | ||
Revision as of 15:32, 19 June 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