| [Overview][Constants][Procedures and functions][Index] | 
Calculate the number of milliseconds elapsed since the start of the week
Source position: dateutil.inc line 218
function MilliSecondOfTheWeek(  | 
const AValue: TDateTime  | 
):LongWord;  | 
AValue  | 
  | 
Moment in the week to calculate milliseconds from.  | 
Number of milliseconds passed since the start of the week.
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.
  | 
Calculate the number of milliseconds elapsed since the start of the year.  | 
|
  | 
Calculate number of milliseconds elapsed since the start of the month.  | 
|
  | 
Calculate the number of milliseconds elapsed since the start of the day  | 
|
  | 
Calculate the number of milliseconds elapsed since the start of the hour  | 
|
  | 
Calculate the number of milliseconds elapsed since the start of the minute  | 
|
  | 
Calculate the number of milliseconds elapsed since the start of the second  | 
|
  | 
Extracts the day of the week from a TDateTime value  | 
|
  | 
Calculate the number of hours elapsed since the start of the week.  | 
|
  | 
Calculate the number of minutes elapsed since the start of the week  | 
|
  | 
Calculate the number of seconds elapsed since the start of the week  |