Time Arithmetic by clock

while""do r=io.read()t=0
for i=3,8 do t=t+r:sub(7-3*i,8-3*i)*60^(i%3)end
print(r..os.date("!=%X",t))end

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page