upgrade time format