forgot to add credits for extention
This commit is contained in:
parent
ac3049d418
commit
306c689450
|
|
@ -226,6 +226,7 @@ public static class NETExt
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region DateTime Extensions
|
#region DateTime Extensions
|
||||||
|
//https://stackoverflow.com/questions/5672862/check-if-datetime-instance-falls-in-between-other-two-datetime-objects
|
||||||
public static bool IsBetweenTwoDates(this DateTime dt, DateTime start, DateTime end)
|
public static bool IsBetweenTwoDates(this DateTime dt, DateTime start, DateTime end)
|
||||||
{
|
{
|
||||||
return dt >= start && dt <= end;
|
return dt >= start && dt <= end;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue