The Maskedinput plugin is the best solution for entering the date and time type - simple and easy.
As for "accepting any number": you can easily modify the base regular expression of js base by adding your own rules:
{ definitions: { 9: "[0-9]", 1: "[0-1]", 2: "[0-2]", a: "[A-Za-z]", "*": "[A-Za-z0-9]" }
source
share