Liquid XML Data Binder 2020
LiquidTechnologies.XmlObjects Namespace / LxDateTime Structure / TryParseXSDDateTimeStamp Method / TryParseXSDDateTimeStamp(String) Method
The string to be parsed

In This Topic
    TryParseXSDDateTimeStamp(String) Method
    In This Topic
    Parses a string containing an xs:dateTimeStamp (XSD 1.1)
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function TryParseXSDDateTimeStamp( _
       ByVal xsdDateTime As System.String _
    ) As LxDateTime
    public static LxDateTime TryParseXSDDateTimeStamp( 
       System.string xsdDateTime
    )

    Parameters

    xsdDateTime
    The string to be parsed

    Return Value

    true if the string was successfully parsed into a LxDateTime, false if an error occurred.The parsed LxDateTime object
    Exceptions
    ExceptionDescription
    If the string is not a valid xs:dateTimeStamp.
    Remarks
    Parses a xs:dateTimeStamp string (a xs:dateTimeStamp is a xs:dateTime with timezone information) e.g.

    "2004-04-12T13:20:00-05:00" = 1:20 pm on April 12, 2004, US Eastern Standard Time
    "2004-04-12T13:20:00Z" = 1:20 pm on April 12, 2004, Coordinated Universal Time(UTC)
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows Server 2016, Windows Server 2012, Windows Server 2008. Please ensure you have the latest Service Pack for your operating system installed.

    See Also