minetest.get_timeofday

From Minetest Developer Wiki
Jump to: navigation, search

Syntax

minetest.get_timeofday()

Description

Returns time of day.

Example

print(minetest.get_timeofday() * 24000) --> 0...24000 (format of /time)
Personal tools
Namespaces

Variants
Actions
Navigation
API
Toolbox