formating the date