HI, im trying to find out how to get the current date if thats possible and also is there a way to check all the connected devices and on what side they are.
Any way to do this? I couldn't find any :S
Two questions here
Started by nolongerexistant, Apr 23 2012 01:40 PM
2 replies to this topic
#1
Posted 23 April 2012 - 01:40 PM
#2
Posted 23 April 2012 - 02:21 PM
Unfortunately the date and time are not exposed to us. In Lua, the os.date() and os.time() functions would be what we want, however in ComputerCraft date is not implemented and time gives the minecraft time.
The only way I know of to get the real date and time is to get it from the web using the http API.
Regarding your second question, see here: http://computercraft...eripheral_(API)
The only way I know of to get the real date and time is to get it from the web using the http API.
Regarding your second question, see here: http://computercraft...eripheral_(API)
#3
Posted 23 April 2012 - 04:06 PM
Oh thank you
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











