BIS fnc isDateTimeNewer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|" to "|")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=")
Line 9: Line 9:
| 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]]
|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

Revision as of 00:32, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
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

See also:
dateBIS_fnc_compareDateTimesBIS_fnc_calculateDateTime

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