Infosys Interview Question

How do you handle date picker?