RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.MilliSecondOfTheWeek Function

Returns the number of milliseconds between a specified TDateTime value and 12:00:00:00 AM of the first day of the week.

Pascal
function MilliSecondOfTheWeek(const AValue: TDateTime): LongWord;
C++
LongWord MilliSecondOfTheWeek(const TDateTime AValue);

DateUtils

Call MilliSecondOfTheWeek to obtain the number of milliseconds between AValue and 12:00:00:00 AM on Monday of the week that includes AValue.

Note: MilliSecondOfTheWeek defines the week of AValue according to the ISO 8601 standard. That is, the week starts on Monday and ends on Sunday.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!