Format the display of the date.