Skip to content

MilliSecondOf

Extract the millisecond part from a TDateTime value.

Declaration

Source position: dateutil.inc line 151

function MilliSecondOf(const AValue: TDateTime) : Word;

Arguments

Name Description
AValue Date/time value to extract millisecond from.

Function result

Millisecond part of AValue.

Description

MillisecondOf returns the second of the minute part of the AValue date/time indication. It is a number between 0 and 999.

For an example, see YearOf

See also

Name Description
YearOf Extract the year from a given date.
WeekOf Extract week (of the year) from a given date.
MonthOf Extract the month from a given date.
DayOf Extract the day (of month) part from a TDateTime value.
HourOf Extract the hour part from a TDateTime value.
MinuteOf Extract the minute part from a TDateTime value.
MilliSecondOf Extract the millisecond part from a TDateTime value.