HourOfTheWeek function
Calculate the number of hours elapsed since the start of the week.
Declaration
function HourOfTheWeek(const AValue: TDateTime): WordArguments
AValue | TDateTime value for which to calculate the hour of the week. |
Function result
Number of hours elapsed since the start of the week till
AValue.
Description
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
