EssentialsTime.Subtract method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Time
Assembly Skybrud.Essentials.dll

Subtract(DateTimeOffset)

Subtracts the specified date and time from this instance.

public TimeSpan Subtract(DateTimeOffset value)

Parameters

The date and time value to subtract.

Returns

A time interval that is equal to the date and time represented by this instance minus the date and time represented by value.

Subtract(EssentialsTime)

Subtracts the specified date and time from this instance.

public TimeSpan Subtract(EssentialsTime value)

Parameters

The date and time value to subtract.

Returns

A time interval that is equal to the date and time represented by this instance minus the date and time represented by value.