Time Arithmetic by clock

for(;r=readline();)print(r+'='+(new Date(1e3*eval(r.replace(/:(..):/g,'*9e4+$1*60+270')))+r).slice(16,24))

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

download

return to the top page