Sign in Join
FPDoc Onlineexperiment

MilliSecondOfTheMinute function

In unit DateUtils

Calculate the number of milliseconds elapsed since the start of the minute.

Declaration

pascal
function MilliSecondOfTheMinute(const AValue: TDateTime): LongWord

Arguments

AValue

Moment in the minute.

Function result

Number of milliseconds elapsed since the start of the minute.

Description

MilliSecondOfTheMinute returns the number of milliseconds that have passed since the start of the Minute (HH:MM:00.000) till the moment indicated by AValue. This is a zero-based number, i.e. HH:MM:00.000 will return 0.

For an example, see the SecondOfTheMinute function.

See also

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