MinuteOfTheWeek returns the number of minutes between the TDateTime value entered as AValue, and 12:00 A.M. of the first day of the week that is specified by AValue.
MinuteOfTheWeek defines the week of AValue according to the ISO 8601 standard, where the week starts on Monday and ends on Sunday.
Declaration: Function MinuteOfTheWeek(const AValue: TDateTime): Word;