Add a model property that allows the developer to validate incoming Date fields against the current date; for example, date must be more than 18 years ago, or date must be less than 3 months ago.
Would be useful for storing dates of birth where there's also an age requirement.
Need to figure out a clear and concise notation for this, since I don't want it to be like PHP's date() where every dang time you need to use it, you have to look up the magic hieroglyphs that correspond to the different date elements.
Add a model property that allows the developer to validate incoming Date fields against the current date; for example, date must be more than 18 years ago, or date must be less than 3 months ago.
Would be useful for storing dates of birth where there's also an age requirement.
Need to figure out a clear and concise notation for this, since I don't want it to be like PHP's
date()
where every dang time you need to use it, you have to look up the magic hieroglyphs that correspond to the different date elements.