Skip to main content

ASPxSchedulerDateTimeHelper Members

Exposes static methods that simplify working with JavaScript DateTime values.

Methods

Name Description
AddDays(date, dayCount) static Adds the specified number of days to a DateTime object and returns the result.
AddTimeSpan(date, timeSpan) static Adds the specified timespan to a DateTime object and returns the result.
CeilDateTime(date, spanInMs) static Rounds a DateTime value up to the nearest interval.
ToDayTime(date) static Returns the day time part of the specified DateTime value.
TruncToDate(date) static Returns the date part of the specified DateTime value.
See Also