[Overview][Constants][Procedures and functions][Index] |
Extract the day (of month) part of a TDateTime value
Source position: dateutil.inc line 204
function DayOfTheMonth( |
const AValue: TDateTime |
):Word; |
AValue |
|
TDateTime value to extract day from. |
Day in the month
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.
|
Extracts the day of the year from a TDateTime value |
|
|
Extract the week of the month (and optionally month and year) from a TDateTime value |
|
|
Calculate the number of hours passed since the start of the month. |
|
|
Calculate number of minutes elapsed since the start of the month. |
|
|
Calculate number of seconds elapsed since the start of the month. |
|
|
Calculate number of milliseconds elapsed since the start of the month. |