Execom interview question

How would you test a input with date ?