Execom Interview Question

How would you test a input with date ?