Fixed some date/time validation