daytime

From Bohemia Interactive Community
Revision as of 03:00, 23 September 2014 by Benargee (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns the current ingame time in hours.
Multiplayer:
Returns the current local ingame time in hours.
Groups:
Uncategorised

Syntax

Syntax:
Number = daytime
Return Value:
Number - Time using a 24 hour clock.

Examples

Example 1:
; assumme it is 16:30
_daytime = daytime
returns 16.5

Additional Information

See also:
datedateToNumbertimeskipTime

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

Notes

Bottom Section

Posted on September 23, 2014 - 02:00 (UTC)
Benargee
To change daytime to 24 hour format with hours minutes and seconds use this To be added, notes dont seem to like "equals" or other code synatax. Will add manually in main page