RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.DayOfTheMonth Function

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

Pascal
function DayOfTheMonth(const AValue: TDateTime): Word;
C++
Word DayOfTheMonth(const TDateTime AValue);

DateUtils

Call DayOfTheMonth to obtain the day of the month represented by a specified TDateTime value. DayOfTheMonth returns a value between 1 and 31.

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

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!