Created
March 9, 2016 12:17
-
-
Save MaxVonBPA/b88c604196dfb39b59db to your computer and use it in GitHub Desktop.
csharp in between
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static bool Between(DateTime input, DateTime date1, DateTime date2) | |
{ | |
return (input > date1 && input < date2); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment