AddWeeks()

Calendar::AddWeeks(DateTime, int) const method

Adds weeks to time point.

virtual DateTime System::Globalization::Calendar::AddWeeks(DateTime time, int weeks) const

Arguments

ParameterTypeDescription
timeDateTimeOriginal time point value.
weeksintNumber of weeks to add.

Return Value

Time point after calculation is done.

See Also