Learn how to use the smart datepicker