dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlTimeStamp 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 PgSqlTimeStamp equivalent.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Parse( _
       ByVal value As String, _
       ByVal format As String _
    ) As PgSqlTimeStamp
    public static PgSqlTimeStamp 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 PgSqlTimeStamp structure equal to the date represented by the specified System.String.
    See Also