UmAlQuraCalendar.GetDayOfYear Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Calculates on which day of the year a specified date occurs.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- time
- Type: System.DateTime
The date to read.
Return Value
Type: System.Int32An integer from 1 through 355 that represents the day of the year specified by the time parameter.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | time is outside the range supported by this calendar. |
The following example displays the values of several components of a DateTime in terms of the Um Al Qura calendar.
Show: