Uncommented date validator