[Overview][Constants][Procedures and functions] | Reference for unit 'dateutils' (#rtl) |
Calculate the number of minutes elapsed since the start of the hour
Source position: dateutil.inc line 218
function MinuteOfTheHour( |
const AValue: TDateTime |
):Word; |
AValue |
|
Moment in the hour |
Number of minutes elapsed since the start of the hour
MinuteOfTheHour returns the number of minutes that have passed since the start of the Hour (HH:00:00) till the moment indicated by AValue. This is a zero-based number, i.e. HH:00:59 will return 0.
|
Calculate the number of minutes elapsed since the start of the year |
|
|
Calculate number of minutes elapsed since the start of the month. |
|
|
Calculate the number of minutes elapsed since the start of the week |
|
|
Calculate the number of minutes elapsed since the start of the day |
|
|
Calculate the number of seconds elapsed since the start of the hour |
|
|
Calculate the number of milliseconds elapsed since the start of the hour |
Program Example44; { This program demonstrates the MinuteOfTheHour function } Uses SysUtils,DateUtils; Var N : TDateTime; Begin N:=Now; Writeln('Minute of the Hour : ',MinuteOfTheHour(N)); Writeln('Second of the Hour : ',SecondOfTheHour(N)); Writeln('MilliSecond of the Hour : ', MilliSecondOfTheHour(N)); End.
No notes exist for this page yet.