GregorianCalendar.AddWeeks(DateTime, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a DateTime that is the specified number of weeks away from the specified DateTime
.
public:
override DateTime AddWeeks(DateTime time, int weeks);
public override DateTime AddWeeks (DateTime time, int weeks);
override this.AddWeeks : DateTime * int -> DateTime
Public Overrides Function AddWeeks (time As DateTime, weeks As Integer) As DateTime
Parameters
- weeks
- Int32
The number of weeks to add.
Returns
The DateTime that results from adding the specified number of weeks to the specified DateTime
.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.