Doubt regarding on date picker

In Studio, the Date Picker is internally showing the date in MM/DD/YYYY format. However, I need the date to be in DD/MM/YYYY format when selecting it from the calendar. I already tried formatting the date in the dateChange function and assigning it back to the Date Picker value, but it is not reflecting. so how can i do that ?

@Sam @Eldho @Simphiwe

1 Like

As far as I’m aware, the date picker stores whatever value that is chosen as ISO string

I even confirmed by using a new date picker and then consoling the value after changing. It was ISO string. If you want it to be stored as any other format then you need to add a custom formatting function on the change event of the date picker. I suspect there is already some other helper function that’s there in your application that is already converting the date to MM/DD/YYYY. Confirm if any such function is being called in the on change event of date picker, also confirm in the onit if any helper function was attached to the date picker element

Actually i want to do this in ssd , not in alpha @Uthara_Subhod