Well you could have went with sec like set -z %var 9000000 are something then msg $chan %var.
But thats for seconds only tho your is for dates and it works nice.