DOY()
Gets the day number of the year.
- Syntax
-
- DOY( <dDate> ) --> nDay
- Arguments
-
- <dDate> A valid date.
- Returns
-
- <nDay> The day number
- Description
-
- This function returns the day number of the year for a given date.
Examples
? DOY( DToC( "01/31/2000" ) ) -> 31
? DOY( DToC( "02/20/2000" ) ) -> 51
- Status
- Ready
- Compliance
-
- This function is new in Harbour.
- Platforms
-
- All
- Files
-
- Library is libmisc
- See Also