BIS fnc showTime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Function " to "{{RV|type=function ")
m (Text replacement - "\{\{ *codecomment *\| *\/\/ *([^ ]+) *\}\} " to "{{cc|$1}}")
Line 18: Line 18:


|x1= <code>_dayStart = [[date]];
|x1= <code>_dayStart = [[date]];
_dayStart [[set]] [3, 0]; {{codecomment|// set hours to 0}}
_dayStart [[set]] [3, 0]; {{cc| set hours to 0}}_dayStart [[set]] [4, 0]; {{cc| set minutes to 0}}_now = [[date]];
_dayStart [[set]] [4, 0]; {{codecomment|// set minutes to 0}}
_now = [[date]];
[_dayStart, _now] [[call]] [[BIS_fnc_showTime]];</code>
[_dayStart, _now] [[call]] [[BIS_fnc_showTime]];</code>



Revision as of 17:25, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Environment

Syntax

Syntax:
Syntax needed
Parameters:
startDate: Array in date format
endDate: Array in date format
Return Value:
Return value needed

Examples

Example 1:
_dayStart = date; _dayStart set [3, 0]; // set hours to 0_dayStart set [4, 0]; // set minutes to 0_now = date; [_dayStart, _now] call BIS_fnc_showTime;

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