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

In This Topic
Parse(String) Method
In This Topic
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.
See Also