Converts the supplied DB2TimeStamp structure to a DateTime.
- Namespace:
- IBM®.Data.DB2Types
- Assembly:
- IBM.Data.DB2® (in IBM.Data.DB2.dll)
Syntax
[Visual Basic]
Public Shared Narrowing Operator CType (source As DB2TimeStamp) As DateTime
[C#]
public static implicit operator DateTime (DB2TimeStamp source)
[C++]
public:
static implicit operator DateTime (DB2TimeStamp source)
Parameters
- source
- A DB2TimeStamp structure to be converted
to a DateTime.
Return value
A DateTime value converted from a DB2TimeStamp instance.
Version information
- Last update
- This topic was last updated for: IBM DB2 Version 9.5
- .NET Framework version
- Supported in: 2.0, 3.0,
3.5, and 4.0
- IBM Data Server Client
- Supported in: IBM DB2 Version 9