From Minetest Developer Wiki
Revision as of 09:58, 9 September 2019 by Wuzzy (talk | contribs) (Add UnofficialLua warning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Mbox warning.png This page contains unofficial Lua API documentation and is likely to be outdated or wrong.
For the official and up-to-date documentation, refer to lua_api.txt found in your Minetest installation directory under doc.
Mbox warning.png This page has been proposed for deletion for the following reason: "Contains unofficial and potentially outdated, redundant and inconsistent Lua API information"
If you don't think that this page should be deleted, please explain why on the talk page.
Mbox information.png This article is a stub.

You can find out current time if you use Minetest. Get timeofday.

Float, 0...1; 0 = midnight, 0.5 = midday.