System::DateTimeOffset::AddHours method

DateTimeOffset::AddHours method

Adds a specified number of hours to the DateTimeOffset object.

DateTimeOffset System::DateTimeOffset::AddHours(double hours) const
ParameterTypeDescription
hoursdoublePositive or negative number of hours.

ReturnValue

Result of operation.

See Also