Fixed issue with time when only date supplied to a date time.