System.DateUtils.DayOf

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DayOf(const AValue: TDateTime): Word;

C++

extern DELPHI_PACKAGE System::Word __fastcall DayOf(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 day of the month represented by a TDateTime value.

Call DayOf to obtain the day of the month represented by a specified TDateTime value. DayOf returns a value from 1 through 31.

Note: DayOf returns the same value as the DayOfTheMonth function.

See Also


Code Examples