Click or drag to resize

YearMonthDayDaysInYear Method

Provides the number of days in the indicated year.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 19.1.398.0 (19.1.398.0)
Syntax
public static int DaysInYear(
	int year
)

Parameters

year
Type: SystemInt32
The year.

Return Value

Type: Int32
The number of days in the year (365 for a common year and 366 for a leap year).
See Also