Subtracts a specified date and time from a specified date, yielding a time interval.

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

Syntax

C#
public static DateTime operator -(
	Date d,
	TimeSpan t
)
Visual Basic (Declaration)
Public Shared Operator - ( _
	d As Date, _
	t As TimeSpan _
) As DateTime

Parameters

d
Type: DlhSoft.Windows.Data..::.Date
A Date.
t
Type: System..::.TimeSpan
A TimeSpan.

Return Value

A DateTime whose value is the value of d minus the value of t.

See Also