RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.DaysInMonth Function

Returns the number of days in the month of a specified TDateTime value.

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

Call DaysInMonth to obtain the number of days in the month of the TDateTime value specified by AValue. 

 

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