Removed unnecessary formating when comparing DateTime objects