Subject: | requesting, constraints on Date/DateTime fields |
It would be exceptionally helpful if there were some contraints specific
to Date and DateTime fields. I would suggest
- Dates being sane, for example not allowing the 30th of Feb, and
getting feb 29th right
which is when (look this up if you like)...
$days = 29 if ( $year % 400 == 0 )
|| ( ( $year % 100 != 0 )
&& ( $year % 4 == 0 ) );
- Dates being after and/or before given times
- Dates being after and/or before another Date field (for example, a
finishing time being after a start time)
thanks for all your great work!