RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DateUtils.HourOfTheMonth Function

Returns the number of hours between a specified TDateTime value and 12:00 AM of the first day of the month.

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

DateUtils

Call HourOfTheMonth to obtain the number of complete hours between AValue and 12:00 AM on the first day of the month that includes AValue. 

 

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