Casts a date and time value to a date value.
Namespace:
DlhSoft.Windows.DataAssembly: 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.