os.day
From ComputerCraft Wiki
Revision as of 22:00, 25 February 2013 by Mtdj2 (Talk | contribs) (First raw edit: Vital details missing, I will edit them out when I come home.)
| Returns the current in-game day. | |
| Syntax | os.day() |
| Returns | The current in-game day. |
| Part of | ComputerCraft |
| API | OS |
Examples
| Prints current day. | |
| Code |
local day = os.day() |