Changes axes successfully to time format