TcxSchedulerDateTimeHelper.WeekCount(TDateTime,TDateTime) Method
In This Article
Calculates the number of weeks contained within the time interval specified by the AStart and AFinish date/time parameters.
#Declaration
#Parameters
Name | Type |
---|---|
AStart | TDate |
AFinish | TDate |
#Returns
Type |
---|
Integer |
#Remarks
The WeekCount method returns the number of weeks contained in the time interval. If the time interval contains an incomplete week it is counted as a full week.
The AStart parameter specifies the beginning of the time interval;
The AFinish parameter specifies the end of the time interval.
See Also