Is there a way to display a "Today" button on UIDatePicker control?

Hi, I have two UIDatePicker controls in my app. The first one is set to a date in the past. Is there a way to display a "Today" button on the control window to select the current date? Thank you

UIDatePicker does not include a "Today" button to select the current date itself, please file a response with Feedback Assistant for this type of request.

That said, you can add a UIButton to whose action is datePicker.date = Date.now to achieve the same effect.

Hi andyl_,

Thank you for your valuable comments. I did what you suggested and it looks and works great.

Take care

Is there a way to display a "Today" button on UIDatePicker control?
 
 
Q