RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.DayOf Function

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

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

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

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

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!