Time Arithmetic by Hendrik

while""do r=io.read()h,m,s,i,n,t=r:match(("(.%d).*"):rep(6))print(r..os.date("!=%T",60*(m+n+60*(h+i))+s+t))end

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

download

return to the top page