Skip to main content

TimeScaleDay.Round(DateTime) Method

Calculates the datetime value that is the nearest to the argument and contains an integer number of days.

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.Core

Declaration

public override DateTime Round(
    DateTime date
)

Parameters

Name Type Description
date DateTime

A DateTime value.

Returns

Type Description
DateTime

A DateTime value specifying a datetime argument rounded to days.

See Also