Date/Time/DateTime bug fixes

New features and bug fixes.