Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:1.00

Description

Description:Returns the current in-game time in hours.

Syntax

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

Examples

Examples:
// Assuming it is 16:30, the return value is 16.5
_daytime = daytime

Additional Information

See also: date, time, skipTime, systemTime
Multiplayer:Returns the current local in-game time in hours. During a network session, daytime is synchronized within one minute interval, so the difference between clients can be up to one minute. For precision measurement, use time, which is synchronized precisely.
Problems: 

Notes