os.day
From ComputerCraft Wiki
Function os.day | |
Returns the current in-game day. | |
Syntax | os.day() |
Returns | number The current in-game day. |
Part of | ComputerCraft |
API | OS |
Examples
Example | |
Prints current day. | |
Code |
local day = os.day() |