DateUtils.HourOfTheWeek

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From DateUtils.pas

	function HourOfTheWeek(const AValue: TDateTime): Word;


Unit: DateUtils

Type: function

Visibility: public

C++ Information

From DateUtils.hpp

	unsigned short __fastcall HourOfTheWeek(System::TDateTime AValue);


Unit: DateUtils

Type: function

Description

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


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

Note:  HourOfTheWeek 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 Samples


Personal tools
Translations
Newest Version