formats time and sets reverse chron order