Skip to main content

TimeScaleHour.Floor(DateTime) Method

Calculates the largest datetime value that is less or equal to the argument and represents an integer number of hours.

Namespace: DevExpress.XtraScheduler

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

Declaration

public override DateTime Floor(
    DateTime date
)

Parameters

Name Type Description
date DateTime

A DateTime value.

Returns

Type Description
DateTime

A DateTime value representing an argument rounded to hours.

See Also