Back to Devexpress

TimeScaleDay.Floor(DateTime) Method

corelibraries-devexpress-dot-xtrascheduler-dot-timescaleday-dot-floor-x28-system-dot-datetime-x29.md

latest1.5 KB
Original Source

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.v25.2.Core.dll

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
public override DateTime Floor(
    DateTime date
)
vb
Public Overrides Function Floor(
    date As Date
) As Date

Parameters

NameTypeDescription
dateDateTime

A DateTime value.

|

Returns

TypeDescription
DateTime

A DateTime value representing a date part of an argument.

|

Remarks

This method actually returns a date part of the datetime argument.

See Also

TimeScaleDay Class

TimeScaleDay Members

DevExpress.XtraScheduler Namespace