MilliSecondOfTheDay

Calculate the number of milliseconds elapsed since the start of the day

Declaration

Source position: dateutil.inc line 214

  function MilliSecondOfTheDay(const AValue: TDateTime) : LongWord;

Description

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.

See also

Name Description
HourOfTheDay Calculate the hour of a given TDateTime value
MilliSecondOfTheHour Calculate the number of milliseconds elapsed since the start of the hour
MilliSecondOfTheMinute Calculate the number of milliseconds elapsed since the start of the minute
MilliSecondOfTheMonth Calculate number of milliseconds elapsed since the start of the month.
MilliSecondOfTheSecond Calculate the number of milliseconds elapsed since the start of the second
MilliSecondOfTheWeek Calculate the number of milliseconds elapsed since the start of the week
MilliSecondOfTheYear Calculate the number of milliseconds elapsed since the start of the year.
MinuteOfTheDay Calculate the number of minutes elapsed since the start of the day
SecondOfTheDay Calculate the number of seconds elapsed since the start of the day