DateTimeExtensions.IsBetween Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

IsBetween(DateTime, DateTime, DateTime)

Check if date is between the two dates a and b.

public static bool IsBetween(this DateTime date, DateTime a, DateTime b)

Parameters

date
System.DateTime

The date to check.

a
System.DateTime

The first date.

b
System.DateTime

The second date.

Returns

bool