TimeScale.Floor(DateTime) Method
Calculates the largest datetime value that is less or equal to the argument and contains an integer number of specified time units.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.1.Core.dll
NuGet Package: DevExpress.Scheduler.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
date | DateTime | A DateTime value. |
Returns
Type | Description |
---|---|
DateTime | A DateTime value representing a datetime argument rounded to certain datetime unit. |
Remarks
This method should be overridden in descendants of the TimeScale class.
See Also