date validation for patron edit/register