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