Calculate the number of hours passed since the start of the month.
Source position: dateutil.inc line 214
function HourOfTheMonth( |
const AValue: TDateTime |
):Word; |
AValue |
|
TDateTime value for which to calculate the hour of the month. |
Number of hours passed since the start of the month till AValue.
HourOfTheMonth returns the number of hours that have passed since the start of the month till the moment indicated by AValue. This is a zero-based number, i.e. 00:59:59 on the first day of the month will return 0.
For an example, see the WeekOfTheMonth function.
|
Extract the week of the month (and optionally month and year) from a TDateTime value. |
|
|
Extract the day (of month) part of a TDateTime value. |
|
|
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. |