Skip to content

MinuteOfTheDay

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

Declaration

Source position: dateutil.inc line 212

  function MinuteOfTheDay(const AValue: TDateTime) : Word;

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

Name Description
HourOfTheDay Calculate the hour of a given TDateTime value
MilliSecondOfTheDay Calculate the number of milliseconds elapsed since the start of the day
MinuteOfTheHour Calculate the number of minutes elapsed since the start of the hour
MinuteOfTheMonth Calculate number of minutes elapsed since the start of the month.
MinuteOfTheWeek Calculate the number of minutes elapsed since the start of the week
MinuteOfTheYear Calculate the number of minutes elapsed since the start of the year
SecondOfTheDay Calculate the number of seconds elapsed since the start of the day