respect namespace for DateTime and string