change date and time form input type