DB2DateTime.AddTicks(Int64 ticks) method

Adds specified ticks to the DB2DateTime instance.

The DB2DateTime.AddTicks(Int64 ticks) method 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 Shared Function AddTicks (ticks As Int64) As DB2DateTime
[C#]
public DB2DateTime AddTicks (Int64 ticks)
[C++]
public:
DB2DateTime AddTicks (Int64 ticks)
[JScript]
public function AddTicks (ticks Int64) : DB2DateTime

Parameters

ticks
The number of ticks that you want to add to the existing DB2DateTime instance.

Return value

A new DB2DateTime structure that consists of the original DB2DateTime instance value plus the number of ticks that you specified in the ticks parameter. There are 10 000 000 ticks in one second.