Jump to content




Two questions here


  • You cannot reply to this topic
2 replies to this topic

#1 nolongerexistant

  • Validating
  • 201 posts
  • LocationNetherlands

Posted 23 April 2012 - 01:40 PM

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

#2 OminousPenguin

  • Members
  • 93 posts

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)

#3 nolongerexistant

  • Validating
  • 201 posts
  • LocationNetherlands

Posted 23 April 2012 - 04:06 PM

Oh thank you





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users