Allowing to input date from calendar

having difficulty with this! please help!