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);

DateUtils

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

 

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