Time Arithmetic by twobit

while""do
s=io.read()q=54e3
for i=1,6 do q=q+s:sub(i*3-2,i*3-1)*60^(-i%3)end
print(s..os.date("=%T",q))end

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

download

return to the top page