Infosys interview question

How do you handle date picker?