dotConnect for DB2 Documentation
Devart.Data.DB2.DB2Types Namespace / DB2Date Structure / Parse Method
The System.String to be parsed.

In This Topic
    Parse Method (DB2Date)
    In This Topic
    Converts the specified System.String representation of a date and time to its DB2Date equivalent.
    Syntax
    'Declaration
     
    Public Shared Function Parse( _
       ByVal szDate As String _
    ) As DB2Date
    public static DB2Date Parse( 
       string szDate
    )

    Parameters

    szDate
    The System.String to be parsed.

    Return Value

    An DB2Date structure equal to the date and time represented by the specified System.String.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also