formatting date for exclusions