Difference between revisions of "Os.day"
From ComputerCraft Wiki
m (Category change) |
SuicidalSTDz (Talk | contribs) m (Added integer tag) |
||
Line 2: | Line 2: | ||
{{Function | {{Function | ||
|name=os.day | |name=os.day | ||
− | |returns=The current in-game day. | + | |returns=[[int (type)|int]] The current in-game day. |
|api=OS | |api=OS | ||
|addon=ComputerCraft | |addon=ComputerCraft |
Revision as of 20:58, 3 June 2013
Function os.day | |
Returns the current in-game day. | |
Syntax | os.day() |
Returns | int The current in-game day. |
Part of | ComputerCraft |
API | OS |
Examples
Example | |
Prints current day. | |
Code |
local day = os.day() |