| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Returns the day number of a Date value in a year.
DoY( [<dDate>] ) --> nDayOfYear
The function returns a numeric value. It is the number of the day in a year that represents <dDate>.
| See also: | Day(), DaysToMonth() |
| Category: | CT:DateTime , Date and time |
| Source: | ct\dattime2.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com