Converts the string to a DateTime using the System.Xml.XmlDateTimeSerializationMode specified
- s
- The string value to convert.
- dateTimeOption
- One of the System.Xml.XmlDateTimeSerializationMode values that specify whether the date should be converted to local time or preserved as Coordinated Universal Time (UTC), if it is a UTC date.