AddHours()

DateTimeOffset::AddHours(double) const method

Adds a specified number of hours to the DateTimeOffset object.

DateTimeOffset System::DateTimeOffset::AddHours(double hours) const

Arguments

ParameterTypeDescription
hoursdoublePositive or negative number of hours.

Return Value

Result of operation.

See Also