Sign in Join
FPDoc Onlineexperiment

MilliSecondOfTheMonth function

In unit DateUtils

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

Declaration

pascal
function MilliSecondOfTheMonth(const AValue: TDateTime): LongWord

Arguments

AValue

Moment in the month.

Function result

Number of milliseconds elapsed since the start of the month.

Description

MilliSecondOfTheMonth returns the number of milliseconds that have passed since the start of the month (00:00:00.000) till the moment indicated by AValue. This is a zero-based number, i.e. 00:00:00.000 on the first of the month will return 0.

For an example, see the WeekOfTheMonth function.

See also

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