EssentialsDateTime.op_Subtraction method

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

op_Subtraction(EssentialsDateTime, TimeSpan)

Static

Subtracts timespan from date.

public static EssentialsDateTime op_Subtraction(EssentialsDateTime date, TimeSpan timespan)

Parameters

The date.

timespan TimeSpan

The time that should be subtracted from date.

Returns

The result as a new instance of EssentialsDateTime.

op_Subtraction(EssentialsDateTime, EssentialsDateTime)

Static

Subtracts two instances of EssentialsDateTime.

public static TimeSpan op_Subtraction(EssentialsDateTime d1, EssentialsDateTime d2)

Parameters

The first instance of EssentialsDateTime.

The second instance of EssentialsDateTime.

Returns

The result as an instance of TimeSpan .