[Overview][Constants][Procedures and functions][Index] |
Calculate the number of milliseconds elapsed since the start of the second
Source position: dateutil.inc line 235
function MilliSecondOfTheSecond( |
const AValue: TDateTime |
):Word; |
AValue |
|
Moment in the second |
Number of milliseconds elapsed since the start of the second
MilliSecondOfTheSecond returns the number of milliseconds that have passed since the start of the second (HH:MM:SS.000) till the moment indicated by AValue. This is a zero-based number, i.e. HH:MM:SS.000 will return 0.
|
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 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 seconds elapsed since the start of the minute |
Program Example46; { This program demonstrates the MilliSecondOfTheSecond function } Uses SysUtils,DateUtils; Var N : TDateTime; Begin N:=Now; Writeln('MilliSecond of the Second : ', MilliSecondOfTheSecond(N)); End.
lazarus-ccr.sourceforge.net |