Finds dates and converts them to integers