BIS fnc isDateTimeNewer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1 = Environment |GROUP1=
|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. |Description=
____________________________________________________________________________________________


| [date_1,date_2] call [[BIS_fnc_IsDateTimeNewer]] |Syntax=
| [date_1,date_2] call [[BIS_fnc_IsDateTimeNewer]] |Syntax=
Line 17: Line 14:


| [[Boolean]] |Return value=
| [[Boolean]] |Return value=
____________________________________________________________________________________________


|x1= <code>_isNewer = [ [2035,5,28,13,37],[2032,5,28,13,37] ] [[call]] [[BIS_fnc_IsDateTimeNewer]];</code> |Example 1=
|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=
|[[date]], [[BIS_fnc_CompareDateTimes]], [[BIS_fnc_calculateDateTime]]|See also=

Revision as of 23:25, 16 January 2021

Hover & click on the images for description

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

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