BIS fnc isDateTimeNewer: Difference between revisions
Jump to navigation
Jump to search
(Change version) |
mNo edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Function|= | {{Function|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1.86| | |1.86|Game version= | ||
|gr1 = Environment |GROUP1= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Returns true if the first passed datetime is newer than the second one. |Description= | ||
Returns true if the first passed datetime is newer than the second one | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [date_1,date_2] call [[BIS_fnc_IsDateTimeNewer]] |Syntax= | ||
|p1= '''date_1''': [[Array]] - Date No. 1|Parameter 1= | |||
|p1= |= Parameter | |p2= '''date_2''': [[Array]] - Date No. 2 |Parameter 2= | ||
| | | | [[Boolean]] |Return value= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= | |x1= <code>_isNewer = [ [2035,5,28,13,37],[2032,5,28,13,37] ] [[call]] [[BIS_fnc_IsDateTimeNewer]];</code> |Example 1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | |[[date]], [[BIS_fnc_CompareDateTimes]], [[BIS_fnc_calculateDateTime]]|See also= | ||
}} | }} | ||
[[Category:Functions|{{uc:IsDateTimeNewer}}]] | [[Category:Functions|{{uc:IsDateTimeNewer}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:IsDateTimeNewer}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:IsDateTimeNewer}}]] |
Revision as of 16:53, 9 October 2020
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