Public Sub ParseXSDDateTime(ByVal xsdDateTime As String)
  Property Description  
    Argument xsdDateTime A valid XML Schema dateTime  
    Description Populates this DateTime with the value specified as a valid XML Schema dateTime.  
    Remarks A valid dateTime is a subset of the ISO 8601 standard comprising [-]CCYY-MM-DDThh:mm:ss[.ff][[Z]|[[+|-]hh:mm]]
where the parts in [...] are optional.
If only the Date part is provided ParseXSDDate should be used, if only the Time part is
provided ParseXSDTime should be used
Throws: on parsing invalid values.
See: ParseXSDDate(string)
See: ParseXSDTime(string)
 
    Example

Code
Dim dt As New LtXmlComLib16.DateTime

dt.ParseXSDDateTime "1999-05-31T13:20:00-05:00"

Debug.Print dt.ToString("s")
Debug.Print "DateType = " & dt.dateType

Output
1999-05-31T13:20:00-05:00
DateType = 1 (DTType_dateTime)