DB2DateTime(int year, int month, int day, int hour, int minute, int second, Int64 picosecond) Constructor

Initializes a new DB2DateTime structure with the specified integer values.

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(year as Integer, month as Integer, _
    day as Integer, hour as Integer, _
    minute as Integer, second as Integer, _
    picosecond as Int64 _
)
[C#]
public DB2DateTime(int year, int month, 
    int day, int hour, 
    int minute, int second,
    int64 picosecond
);
[C++]
public: DB2DateTime(int year,int month, 
    int day, int hour, 
    int minute, int second,
    int64 picosecond
);
[JScript]
public function DB2DateTime(year : int, month : int,
    year : int, month : int,
    day : int, hour : int,
    minute : int, second : int,
    picosecond : int64
 );

Parameters

year
An integer value to provide the year for the DB2DateTime instance.
month
An integer value to provide the month for the DB2DateTime instance.
day
An integer value to provide the day for the DB2DateTime instance.
hour
An integer value to provide the hour for the DB2DateTime instance.
minute
An integer value to provide the minute for the DB2DateTime instance.
second
An integer value to provide the second for the DB2DateTime instance.
picosecond
A 64–bit integer value to provide the picosecond for the DB2DateTime instance.