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.

Parse(String,String) Method
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
 

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.
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