Warning: file_get_contents(http://localhost:8000/calc?cmd=197&userid=0&debug=1): failed to open stream: Cannot assign requested address in /var/www/tb/show-snippet.php on line 158
Print the time [197]

Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #197 // Print the time

Lua code - System test

print(os.time())
assert(os.time() > 1390112731052)
return true

Author comment

Prints current time in a weird format that is practical for computers (number of milliseconds since some point in time) :)

test run  test run with input  download  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Image recognition results

Recognizer Recognition Result Visualize Recalc
#308 64 [visualize]

Snippet ID: #197
Snippet name: Print the time
Eternal ID of this version: #197/1
Text MD5: 600012573ded31cddc0cd88f150f90f1
Author: stefan
Category:
Type: Lua code - System test
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2014-01-19 07:41:08
Source code size: 64 bytes / 3 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 872 / 239
Referenced in: [show references]