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

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.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

Return Value

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

See Also