Casts a date and time value to a date value.

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

Syntax

C#
public static implicit operator Date (
	DateTime date
)
Visual Basic (Declaration)
Public Shared Widening Operator CType ( _
	date As DateTime _
) As Date

Parameters

date
Type: System..::.DateTime
Date and time value to cast.

Return Value

Casted date value.

See Also