minetest.get_day_count

From Minetest Developer Wiki
Jump to: navigation, search


Syntax

minetest.get_day_count()

Description

Returns the number of days that have passed in the game. Bears no relation to actual time, or seconds of time elapsed in the game. Days are counted by the number of times "midnight" has happened. If the /time is changed "backwards", it counts as one extra day in the day count.

Personal tools
Namespaces

Variants
Actions
Navigation
API
Toolbox