ASPxClientDateEdit.GetRangeDayCount Method

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

Declaration

GetRangeDayCount(): number

Returns

Type Description
number

An Int32 value specifying 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