System.DateUtils.HourOfTheMonth

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function HourOfTheMonth(const AValue: TDateTime): Word;

C++

extern DELPHI_PACKAGE System::Word __fastcall HourOfTheMonth(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 hours between a specified TDateTime value and 12:00 A.M. of the first day of the month.

Call HourOfTheMonth to obtain the number of complete hours between AValue and 12:00 A.M. on the first day of the month that includes AValue.

See Also


Code Examples