System.DateUtils.HourOf

From RAD Studio API Documentation
Revision as of 19:47, 11 November 2011 by L10nBot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Delphi

function HourOf(const AValue: TDateTime): Word;

C++

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

Contents

Properties

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

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 Examples

Personal tools
Translations