BIS fnc showTime: Difference between revisions

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


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



Revision as of 00:41, 30 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