System Namespace DateTime Structure
Adds the specified number of ticks to the value of this instance.
[ VB ]
<Serializable>
Public Function AddTicks ( _
ByVal value As Long _
} As DateTime
[ C# ]
[ Serializable ]
public DateTime AddTicks (
long value
};
[ C++ ]
[ Serializable ]
public: DateTime AddTicks (
__int64 value
};
[ JScript ]
public Serializable
function AddTicks (
value : long
} : DateTime;
- value
- A number of 100-nanosecond ticks. The value parameter can be positive or negative.
A DateTime whose value is the sum of the date and time represented by this instance and the time represented by value.
This method does not change the value of this DateTime. Instead, a new DateTime is returned whose value is the result of this operation.
DateTime Members Int64 Ticks