TimeScaleDay.Floor(DateTime) Method
Calculates the largest datetime value that is less or equal to the argument and contains an integer number of days.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v19.1.Core.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
date | DateTime | A DateTime value. |
Returns
Type | Description |
---|---|
DateTime | A DateTime value representing a date part of an argument. |
Remarks
This method actually returns a date part of the datetime argument.
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