dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlInterval Structure / Parse(String) Method
The System.String to be parsed.

Parse(String) Method
Converts the specified System.String representation of a date to its PgSqlInterval equivalent.
Syntax
'Declaration
 
Public Shared Function Parse( _
   ByVal value As String _
) As PgSqlInterval
 

Parameters

value
The System.String to be parsed.

Return Value

A PgSqlInterval structure equal to the date represented by the specified System.String.
Remarks
The value can be in the various formats, for example "6 years 8 months 15 days 13:03:02". Refer to PostgreSQL server documentation for detailed information.
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