Use proper formatting for date