set min date for input