BIS fnc showTime: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Function " to "{{RV|type=function ") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{ *codecomment *\| *\/\/ *([^ ]+) *\}\} " to "{{cc|$1}}") |
||
Line 18: | Line 18: | ||
|x1= <code>_dayStart = [[date]]; | |x1= <code>_dayStart = [[date]]; | ||
_dayStart [[set]] [3, 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]; {{ | |||
_now = [[date]]; | |||
[_dayStart, _now] [[call]] [[BIS_fnc_showTime]];</code> | [_dayStart, _now] [[call]] [[BIS_fnc_showTime]];</code> | ||
Revision as of 16:25, 29 January 2021
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