A newer version of this page is available. Switch to the current version.

TimeScale.Ceil(DateTime) Method

Calculates the smallest datetime value that is greater or equal to the argument and contains an integer number of specified time units.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v18.2.Core.dll


public virtual DateTime Ceil(
    DateTime date
Public Overridable Function Ceil(
    date As Date
) As Date


Name Type Description
date DateTime

A DateTime value.


Type Description

A DateTime value specifying a datetime argument rounded to a certain datetime unit.

See Also