Sign in Join
FPDoc Onlineexperiment

MinuteOfTheDay function

In unit DateUtils

Calculate the number of minutes elapsed since the start of the day.

Declaration

pascal
function MinuteOfTheDay(const AValue: TDateTime): Word

Arguments

AValue

Moment in the day.

Function result

Number of minutes elapsed since the start of the day.

Description

MinuteOfTheDay returns the number of minutes that have passed since the start of the Day (00:00:00) till the moment indicated by AValue. This is a zero-based number, i.e. 00:00:59 will return 0.

For an example, see the HourOfTheDay function.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.