RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.MonthOf Function

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

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

DateUtils

Call MonthOf to obtain the month of the year represented by a specified TDateTime value. MonthOf returns a value between 1 and 12.

Note: MonthOf returns the same value as the MonthOfTheYear function.
 

DecodeDate 

MonthOfTheYear 

DayOf 

MilliSecondOf 

MinuteOf 

HourOf 

RecodeDateMonth 

SecondOf 

WeekOf 

YearOf

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