LiquidTechnologies.XmlObjects Namespace / LxDateTime Structure / ParseXSDTime Method
The string to be parsed

In This Topic
    ParseXSDTime Method
    In This Topic
    Parses a string containing an xs:time
    Public Shared Function ParseXSDTime( _
       ByVal xsdTime As System.String _
    ) As LxDateTime
    public static LxDateTime ParseXSDTime( 
       System.string xsdTime


    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
    If the string is not a valid xs:time.
    Parses a xs:time string, e.g.

    "13:20:00" = 1:20 PM
    "13:20:30.5555" = 1:20 PM and 30.5555 seconds
    "13:20:00-05:00" 1:20 PM, US Eastern Standard Time
    "13:20:00Z" = 1:20 PM, Coordinated Universal Time (UTC)
    "00:00:00" = midnight
    "24:00:00" = midnight

    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