This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
theoriginalbit's profile picture

[Question] Getting Day

Started by theoriginalbit, 30 December 2012 - 04:49 PM
theoriginalbit #1
Posted 30 December 2012 - 05:49 PM
Does anyone know if there is a way to get the day in CC, I've had a look around and couldn't see anything, and by day I mean the day number that Minecraft shows in chat when you change the time.
SkyRamon #2
Posted 06 February 2014 - 12:47 PM
Its realy easy just use.


print(os.day()) -- The Day CODe !!!
Lyqyd #3
Posted 06 February 2014 - 01:18 PM
Please don't go digging through old topics just to find things to bump. This one was over a year old. The os.date function didn't exist back then, if I recall correctly.
theoriginalbit #4
Posted 06 February 2014 - 02:28 PM
yeah if I remember correctly it definitely did not exist when I first asked this question.
SkyRamon #5
Posted 06 February 2014 - 05:45 PM
i juist searched on topics that didnt had replys … well you could remove topics that are older than a mont/year -_-/>
theoriginalbit #6
Posted 06 February 2014 - 05:48 PM
or you could just ignore old ones. its not like its a difficult task.
Lyqyd #7
Posted 06 February 2014 - 10:15 PM
It's fine to bump old topics to add really good, really thoughtful answers. Most of the ones you were bumping, you were adding incorrect or misleading information, which isn't particularly helpful. :P/>