System::Globalization::Calendar::AddWeeks method

Calendar::AddWeeks method

Adds weeks to time point.

virtual DateTime System::Globalization::Calendar::AddWeeks(DateTime time, int weeks) const
ParameterTypeDescription
timeDateTimeOriginal time point value.
weeksintNumber of weeks to add.

ReturnValue

Time point after calculation is done.

See Also