feature detect input type date and time