EssentialsDate.GetDaysBetween method

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

GetDaysBetween(EssentialsDate, EssentialsDate)

Static

Returns the amount of days between a and b.

Notice: if b is a date before a, the result will be a negative numbers.

public static int GetDaysBetween(EssentialsDate a, EssentialsDate b)

Parameters

The first date.

The second date.

Returns

int

The amount of days between a and b.