Calculate the number of hours elapsed since the start of the week.
Source position: dateutil.inc line 224
function HourOfTheWeek( |
const AValue: TDateTime |
):Word; |
AValue |
|
TDateTime value for which to calculate the hour of the week. |
Number of hours elapsed since the start of the week till AValue.
HourOfTheWeek returns the number of hours that have passed since the start of the Week till the moment indicated by AValue. This is a zero-based number, i.e. 00:59:59 on the first day of the week will return 0.
For an example, see the DayOfTheWeek function.
|
Calculate the number of hours passed since the start of the year. |
|
|
Calculate the number of hours passed since the start of the month. |
|
|
Calculate the hour of a given TDateTime value. |
|
|
Extracts the day of the week from a TDateTime value. |
|
|
Calculate the number of minutes elapsed since the start of the week. |
|
|
Calculate the number of seconds elapsed since the start of the week. |
|
|
Calculate the number of milliseconds elapsed since the start of the week. |