fixed time format by adding leading zero