DateUtils.HourOf

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From DateUtils.pas

	function HourOf(const AValue: TDateTime): Word;


Unit: DateUtils

Type: function

Visibility: public

C++ Information

From DateUtils.hpp

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


Unit: DateUtils

Type: function

Description

Returns the hour of the day represented by a TDateTime value.


Call HourOf to obtain the hour of the day represented by a specified TDateTime value. HourOf returns a value from 0 through 23.

Note:  HourOf returns the same value as the HourOfTheDay function.

See Also

Code Samples


Personal tools
Translations
Newest Version