dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlTimeStamp Structure / Parse Method / Parse(String,Boolean) Method
The System.String to be parsed.
Determines whether to use the time zone.

Parse(String,Boolean) 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 withTimeZone As Boolean _
) As PgSqlTimeStamp
 

Parameters

value
The System.String to be parsed.
withTimeZone
Determines whether to use the time zone.

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