Format datetime in 24h.