| [Overview][Constants][Procedures and functions][Index] | 
Calculate the number of milliseconds elapsed since the start of the day
Source position: dateutil.inc line 214
| function MilliSecondOfTheDay( | 
| const AValue: TDateTime | 
| ):LongWord; | 
| AValue | 
 | Moment in the day | 
Number of milliseconds elapsed since the start of the day
MilliSecondOfTheDay returns the number of milliseconds that have passed since the start of the Day (00:00:00.000) till the moment indicated by AValue. This is a zero-based number, i.e. 00:00:00.000 will return 0.
For an example, see the HourOfTheDay 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 week | |
| 
 | 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 | |
| 
 | Calculate the hour of a given DateTime value | |
| 
 | Calculate the number of minutes elapsed since the start of the day | |
| 
 | Calculate the number of seconds elapsed since the start of the day |