Asian Lunisolar Calendar. Get Day OfYear(DateTime) Method
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.
Calculates the day of the year in the specified date.
public: override int GetDayOfYear(DateTime time);
public override int GetDayOfYear (DateTime time);
override this.GetDayOfYear : DateTime -> int
Public Overrides Function GetDayOfYear (time As DateTime) As Integer
An integer from 1 through 354 in a common year, or 1 through 384 in a leap year, that represents the day of the year specified in the
The day of the year is defined as the number of days from the first day of the year. For example, GetDayOfYear for the first day of the first month returns 1, and GetDayOfYear for the last day of the last month returns the total number of days in that year, which is the same value returned by GetDaysInYear.