dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlTime Structure / Parse Method / Parse(String,String) Method
The System.String to be parsed.
A System.String that describes elements contained within value. The syntax is as in the PostgreSQL to_timestamp function.

In This Topic
    Parse(String,String) Method
    In This Topic
    Converts the specified System.String representation of a date to its PgSqlTime equivalent.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Parse( _
       ByVal value As String, _
       ByVal format As String _
    ) As PgSqlTime
    public static PgSqlTime Parse( 
       string value,
       string format
    )

    Parameters

    value
    The System.String to be parsed.
    format
    A System.String that describes elements contained within value. The syntax is as in the PostgreSQL to_timestamp function.

    Return Value

    a PgSqlTime structure equal to the date 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