Converts an ISO formatted date/time string to a DateTime class.
The DateTime class equivalent of the date/time string. If the date/time is not valid, DateTime.MinValue is returned.
The date/time string is formatted as "yyyyMMddTHHmmss".
The following example converts an ISO formatted date/time string to a DateTime class.
string isoNow = DateUtil.IsoNow; DateTime now = DateUtil.IsoDateToDateTime(isoNow);
DateUtil Class | Sitecore Namespace | DateUtil.IsoDateToDateTime Overload List