help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Procedures and functions] Reference for unit 'dateutils' (#rtl)

MinuteOfTheDay

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

Declaration

Source position: dateutil.inc line 210

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

MinuteOfTheYear

  

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

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

MinuteOfTheHour

  

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

HourOfTheDay

  

Calculate the hour of a given DateTime value

SecondOfTheDay

  

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

MilliSecondOfTheDay

  

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

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505