Skip to main content

ASPxClientDateEdit.GetRangeDayCount Method

Returns the number of days in a range selected within a date edit.

#Declaration

TypeScript
GetRangeDayCount(): number

#Returns

Type Description
number

The number of days.

#Remarks

The ASPxDateEdit control provides the capability to select a date range. Use the client-side GetRangeDayCount method to get the number of full days (24-hour periods) in a selected range.

Note

The editor’s date range settings should specified for the end-date ASPxDateEdit control. The properties specified for the start-date editor are not in effect.

See Also