TimeWithZone.Subtract Method (TimeWithZone, TimeWithZone, TimeZone)TimeWithZone.Subtract Method (TimeWithZone, TimeWithZone, TimeZone)TimeWithZone::Subtract Method (TimeWithZone, TimeWithZone, TimeZone)

Subtracts two specified TimeWithZoneTimeWithZoneTimeWithZone values.

Syntax

Public Shared Function Subtract( _
    time1 As TimeWithZone, _
    time2 As TimeWithZone, _
    implicitTimeZone As TimeZone _
) As DayTimeDuration
public static DayTimeDuration Subtract(
    TimeWithZone time1,
    TimeWithZone time2,
    TimeZone implicitTimeZone
)
public:
static DayTimeDuration Subtract(
    TimeWithZone time1, 
    TimeWithZone time2, 
    TimeZone implicitTimeZone
)
 

Return Value

Type: XmlPrime.DayTimeDurationXmlPrime.DayTimeDurationXmlPrime::DayTimeDuration

A TimeWithZoneTimeWithZoneTimeWithZone that is the result of subtracting of time2 from time1.