TimeScaleFixedInterval.Floor(DateTime) Method
Calculates the largest datetime value that is less or equal to the argument and represents an integer number of specified time intervals.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v18.2.Core.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
date | DateTime | A DateTime value. |
Returns
Type | Description |
---|---|
DateTime | A DateTime value representing an argument rounded to specified time intervals. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Floor(DateTime) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
See Also