dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlTime Structure / Implicit Type Conversion Operator / Implicit Type Conversion(PgSqlTime,DateTime) Operator
A System.DateTime object to convert.

Implicit Type Conversion(PgSqlTime,DateTime) Operator
Converts a System.DateTime object to the PgSqlTime structure.
Syntax
'Declaration
 
Overloads Public Operator Widening CType( _
   ByVal value As Date _
) As PgSqlTime
 

Parameters

value
A System.DateTime object to convert.

Return Value

A PgSqlTime structure.
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