Changes to finding the date