DayOfTheYear function
Extracts the day of the year from a
TDateTime value.
Declaration
function DayOfTheYear(const AValue: TDateTime): WordArguments
AValue | TDateTime to extract the day of the year from. |
Function result
Day of the year from
AValue.
Description
DayOfTheYear returns the number of days that have passed since
the start of the year till the moment indicated by
AValue. This is a one-based number, i.e. January 1 will
return 1.
For an example, see the WeekOfTheYear function.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
