Changed datatypes to date to make returns easier.