Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local time = os.time()
- local day = os.day()
- local year = day/365
- local dayFinal = day%365
- mon = peripheral.wrap("right")
- mon.setTextScale(3,4)
- while true do
- mon.clear()
- mon.setCursorPos(1,1)
- time = os.time()
- day = os.day()
- mon.write(textutils.formatTime(time))
- mon.setCursorPos(1,2)
- mon.write("Year:")
- mon.write(tostring(math.floor(year)))
- mon.write("Year:")
- mon.write(tostring(dayfinal))
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement