Format timer as h:mm:ss