Gets the rounded date and time for the specified date and time based on the defined update scale time interval.

Namespace:  DlhSoft.Windows.Controls
Assembly:  DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)

Syntax

C#
DateTime GetUpdateScaleTime(
	DateTime dateTime
)
Visual Basic (Declaration)
Function GetUpdateScaleTime ( _
	dateTime As DateTime _
) As DateTime

Parameters

dateTime
Type: System..::.DateTime
The date and time to get the update scale time for.

Return Value

The rounded date and time for the specified date and time.

See Also