System::DateTime::AddTicks method

DateTime::AddTicks method

Returns a new instance of the DateTime class representing the date and time value which is the sum of the value represented by the current object and the specified number of 100-nanosecond intervals.

DateTime System::DateTime::AddTicks(int64_t value) const
ParameterTypeDescription
valueint64_tThe number of 100-nanosecond intervals to add; the value can be positive or negative

ReturnValue

A new instance of the DateTime class representing the date and time value which is the sum of the value represented by the current object and value of 100-nanosecond intervals

See Also