changed DateTime to Date objects for transaction.
changing DateTime to Date for several classes