changing time format to 24h time