Sign in Join
FPDoc Onlineexperiment

MilliSecondOfTheWeek function

In unit DateUtils

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

Declaration

pascal
function MilliSecondOfTheWeek(const AValue: TDateTime): LongWord

Arguments

AValue

Moment in the week to calculate milliseconds from.

Function result

Number of milliseconds passed since the start of the week.

Description

MilliSecondOfTheWeek returns the number of milliseconds that have passed since the start of the Week (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 Week will return 0.

For an example, see the DayOfTheWeek function.

See also

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