DBDateTime cast operators
The list of explicit cast operators that are available for use with the DB2DateTime structure.
The DB2DateTime cast operators are available for use only with the Informix database server.
Cast operators
| Cast operator | Description |
|---|---|
public static explicit operator DateTime
(DB2DateTime source) |
Casts a DB2DateTime structure
to a DateTime data type. |
public static explicit operator DB2DateTime
(DateTime source) |
Casts aDateTime data type
to a DB2DateTime structure. |
public static explicit operator DB2TimeStamp
(DB2DateTime source) |
Casts aDB2DateTime structure to a DB2TimeStamp structure. |
public static explicit operator DB2DateTime
(DB2TimeStamp source) |
Casts a DB2TimeStamp structure to a DB2DateTime structure. |