TimeHelper.IsDateWithinLastDays method
Version 1.1.28
.NET Framework 4.8
| Namespace | Skybrud.Essentials.Time |
|---|---|
| Assembly | Skybrud.Essentials.dll |
IsDateWithinLastDays(DateTime, int)
Static
Returns whether date is within the last number of specified days.
public static bool IsDateWithinLastDays(DateTime date, int days)
Returns
true if the date is within the last number of days, otherwise false.
IsDateWithinLastDays(DateTimeOffset, int)
Static
Returns whether date is within the last number of specified days.
public static bool IsDateWithinLastDays(DateTimeOffset date, int days)
Returns
true if the date is within the last number of days, otherwise false.