Issue with the date tool