A newer version of this page is available. Switch to the current version.

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.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 a date part of an argument.

Remarks

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

See Also