Cleaning up DateTime functions and adding DateTime support into the comparable extension functions.