dotConnect for DB2 Documentation
Devart.Data.DB2.DB2Types Namespace / DB2TimeStamp Structure / Explicit Type Conversion Operator
The source DB2TimeStamp structure.

In This Topic
    Explicit Type Conversion Operator (DB2TimeStamp)
    In This Topic
    Converts a DB2TimeStamp structure to a System.DateTime structure.
    Syntax
    'Declaration
     
    Public Operator Narrowing CType( _
       ByVal source As DB2TimeStamp _
    ) As Date
    public DateTime operator explicit( 
       DB2TimeStamp source
    )

    Parameters

    source
    The source DB2TimeStamp structure.

    Return Value

    A System.DateTime 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