DateTimeWithZone.Subtraction Operator (DateTimeWithZone, DayTimeDuration)DateTimeWithZone.Subtraction Operator (DateTimeWithZone, DayTimeDuration)DateTimeWithZone::Subtraction Operator (DateTimeWithZone, DayTimeDuration)

Syntax

Public Shared Operator -( _
    dateTime As DateTimeWithZone, _
    duration As DayTimeDuration _
) As DateTimeWithZone
public static DateTimeWithZone operator -(
    DateTimeWithZone dateTime,
    DayTimeDuration duration
)
public:
static DateTimeWithZone operator -(
    DateTimeWithZone dateTime, 
    DayTimeDuration duration
)
 

Exceptions

ExceptionCondition
OverflowExceptionOverflowExceptionOverflowExceptionAn overflow error occurred.