print time in 24h format