Skip to content

function getDayLength (server-side)

Available since version: 0.3.0

Get the current duration of a full in-game day in milliseconds.

Declaration

float getDayLength()

Parameters

No parameters.

Returns float

Day length in milliseconds.