Difference between revisions of "Os.day"
From ComputerCraft Wiki
(First raw edit: Vital details missing, I will edit them out when I come home.) |
m (Category change) |
||
Line 12: | Line 12: | ||
}} | }} | ||
}} | }} | ||
− | [[Category: | + | [[Category:Lua_Core_Functions]] |
Revision as of 00:05, 26 February 2013
Function os.day | |
Returns the current in-game day. | |
Syntax | os.day() |
Returns | The current in-game day. |
Part of | ComputerCraft |
API | OS |
Examples
Example | |
Prints current day. | |
Code |
local day = os.day() |