DB2DateTime(Int64 ticks) Constructor
Initializes a new DB2DateTime structure with the specified ticks since midnight on 1 Jan 0001.
The DB2DateTime constructor is available for use only with the Informix database server.
- Namespace:
IBM.Data.DB2Types- Assembly:
IBM.Data.DB2(in IBM.Data.DB2.dll)
Syntax
[Visual Basic]
Public Sub New(ticks as Int64)
[C#]
public DB2DateTime(Int64 ticks);
[C++]
public: DB2DateTime(Int64 ticks);
[JScript]
public function DB2DateTime(ticks : Int64);
Parameters
- ticks
- An integer value to specify the precision of the ticks since midnight on 1 Jan 0001 to populate the DB2DateTime instance. There are 10 000 000 ticks in one second.