Casting properties defined as dates back to dates.