ionic framework IonDatetime focus code example
Example 1: ion input date
<ion-datetime
displayFormat="MM/DD/YYYY"
min="1994-03-14"
max="2012-12-09">
</ion-datetime>
Example 2: ionic datepicker done
<ion-datetime displayFormat="h:mm a" doneText="Okay"></ion-datetime>