BIS fnc isDateTimeNewer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Initial Export)
 
m (Text replacement - "\|s1= +" to "|s1= ")
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{RV|type=function
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 1.86


|1.00|= Game version
|gr1= Environment
____________________________________________________________________________________________


| <pre>
|descr= Returns true if the first passed datetime is newer than the second one.
/************************************************************
Copmare two Dates


Parameters: [date1, date2]
|s1= [date_1,date_2] call [[BIS_fnc_isDateTimeNewer]]


Returns true if the first passed datetime is newer than the second one
|p1= '''date_1''': [[Array]] - Date No. 1
|p2= '''date_2''': [[Array]] - Date No. 2


|r1= [[Boolean]]


Example: [date, [2035,8,29,11,55] ] call BIS_fnc_IsDateTimeNewer
|x1= <code>_isNewer = [ [2035,5,28,13,37],[2032,5,28,13,37] ] [[call]] [[BIS_fnc_isDateTimeNewer]];</code>
************************************************************/
&lt;/pre&gt;&lt;small&gt;''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''&lt;/small&gt; |= Description
____________________________________________________________________________________________
 
| &lt;!-- [] call [[BIS_fnc_IsDateTimeNewer]]; --&gt; |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= &lt;code&gt;&lt;/code&gt; |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[date]], [[BIS_fnc_compareDateTimes]], [[BIS_fnc_calculateDateTime]]
}}
}}
&lt;h3 style="display:none"&gt;Notes&lt;/h3&gt;
&lt;dl class="command_description"&gt;
&lt;!-- Note Section BEGIN --&gt;
&lt;!-- Note Section END --&gt;
&lt;/dl&gt;
&lt;h3 style="display:none"&gt;Bottom Section&lt;/h3&gt;
[[Category:Function Group: DateTime|{{uc:IsDateTimeNewer}}]]
[[Category:Functions|{{uc:IsDateTimeNewer}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:IsDateTimeNewer}}]]

Revision as of 16:32, 19 June 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