ASPxSchedulerDateTimeHelper.CeilDateTime(date, spanInMs) Method

Rounds a DateTime value up to the nearest interval.

Declaration

static CeilDateTime(
    date: Date,
    spanInMs: any
): Date

Parameters

Name Type Description
date Date

A DateTime object containing a value to round.

spanInMs any

A TimeSpan object specifying an interval to which to round.

Returns

Type Description
Date

A DateTime object containing the rounded value.

See Also