System.DateUtils.MinuteOfTheWeek

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function MinuteOfTheWeek(const AValue: TDateTime): Word;

C++

extern DELPHI_PACKAGE System::Word __fastcall MinuteOfTheWeek(const System::TDateTime AValue);

Properties

Type Visibility Source Unit Parent
function public
System.DateUtils.pas
System.DateUtils.hpp
System.DateUtils System.DateUtils

Description

Returns the number of minutes between a specified TDateTime value and 12:00 A.M. of the first day of the week.

Call MinuteOfTheWeek to obtain the number of minutes between AValue and 12:00 A.M. on Monday of the week that includes AValue.

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

See Also


Code Examples