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  is changed "backwards", it counts as one extra day in the day count.