Revert "Updating Task class to use DateTime class"

This reverts commit 87d2c39bc60ccaf6ac744f729e71f1ab21f9a032.