Updating Task class to use DateTime class