DateAddMonths(Int32, Int32, Int32, Int32) Method

Adds a number of months to a given date.

Definition

Namespace: Austra.Library.Dates
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+d1268756e036101f601080f153b3997e72fc912d
C#
public static Date AddMonths(
	int year,
	int month,
	int day,
	int months
)

Parameters

year  Int32
The year component.
month  Int32
The month component.
day  Int32
The day component.
months  Int32
Number of months to add.

Return Value

Date
A date, several months ahead or before.

See Also