proc/time_stamp() var/hh = text2num(time2text(world.timeofday, "hh")) // Set the hour var/mm = text2num(time2text(world.timeofday, "mm")) // Set the minute var/ss = text2num(time2text(world.timeofday, "ss")) // Set the second var/ph var/pm var/ps if(hh < 10) ph = "0" if(mm < 10) pm = "0" if(ss < 10) ps = "0" return"[ph][hh]:[pm][mm]:[ps][ss]"