| [Overview][Constants][Procedures and functions][Index] | 
Extract the day (of month) part from a TDateTime value
Source position: dateutil.inc line 137
function DayOf(  | 
const AValue: TDateTime  | 
):Word;  | 
AValue  | 
  | 
Date to extract day of.  | 
Day of month part of AValue.
DayOf returns the day of the month part of the AValue date/time indication. It is a number between 1 and 31.
For an example, see YearOf
  | 
Extract the year from a given date.  | 
|
  | 
Extract week (of the year) from a given date.  | 
|
  | 
Extract the month from a given date.  | 
|
  | 
Extract the hour part from a TDateTime value.  | 
|
  | 
Extract the minute part from a TDateTime value.  | 
|
  | 
Extract the second part from a TDateTime value.  | 
|
  | 
Extract the millisecond part from a TDateTime value.  |