Change time format for archive