change date input type