Date input

Please review out code and merge this bitch.