BIS fnc calculateDateTime: Difference between revisions
Jump to navigation
Jump to search
m (rollback) |
m (infobox to template) |
||
Line 27: | Line 27: | ||
Example: [date, 60, "m"] call BIS_fnc_CalculateDateTime | Example: [date, 60, "m"] call BIS_fnc_CalculateDateTime | ||
Example: [date, [2035,8,29,11,55], "h"] call BIS_fnc_CalculateDateTime | Example: [date, [2035,8,29,11,55], "h"] call BIS_fnc_CalculateDateTime | ||
************************************************************/</pre>{{ | ************************************************************/</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description= | ||
|[] call [[BIS_fnc_CalculateDateTime]]|Syntax= | |[] call [[BIS_fnc_CalculateDateTime]]|Syntax= |
Revision as of 15:26, 2 April 2019
Description
- Description:
/************************************************************ Calculate Date Author: Zozo Parameters: [start datetime, time offset (in seconds) or end datetime, time unit] time unit: - "s" (default) - seconds - "m" - minutes - "h" - hours - "d" - days Returns the new datetime if offset is passed or difference between dates if end datetime is passed (in seconds) Example: [date, 3600] call BIS_fnc_CalculateDateTime Example: [date, 60, "m"] call BIS_fnc_CalculateDateTime Example: [date, [2035,8,29,11,55], "h"] call BIS_fnc_CalculateDateTime ************************************************************/
Template:placeholder- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [] call BIS_fnc_CalculateDateTime
- Parameters:
- parameter: Datatype - (Optional, default defValue) description
- Return Value:
- Datatype - description
Examples
- Example 1:
Additional Information
- See also:
- See also needed
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