| [Overview][Constants][Procedures and functions][Index] | 
Calculate the number of milliseconds elapsed since the start of the year.
Source position: dateutil.inc line 183
| function MilliSecondOfTheYear( | 
| const AValue: TDateTime | 
| ):Int64; | 
| AValue | 
 | Moment in the year | 
Number of seconds elapsed since the start of the year.
MilliSecondOfTheYear returns the number of milliseconds that have passed since the start of the year (January 1, 00:00:00.000) till the moment indicated by AValue. This is a zero-based number, i.e. January 1 00:00:00.000 will return 0.
For an example, see the WeekOfTheYear function.
| 
 | Extract the week of the year (and optionally year) of a DateTime indication. | |
| 
 | Extracts the day of the year from a TDateTime value | |
| 
 | Calculate the number of hours passed since the start of the year. | |
| 
 | Calculate the number of minutes elapsed since the start of the year | |
| 
 | Calculate the number of seconds elapsed since the start of the year. | |
| 
 | Calculate the number of milliseconds elapsed since the start of the year. |