Formatting the date/categories