Change date input fields to xx-xx-xxxx

Hi,

Is there a way to change the date input to xx-xx-xxxx instead of xx/xx/xxxx?

Make a new field “new date” with an equation and then use the following

DATE_FORMAT({your_date}, ‘%d-%m-%Y’)

in the equation field.

I see reading is also an art. This is not the answer you are looking for.

In the General settings there are options to change the input format in your application.

Your preferred format is not present.

yes I agree. I was hoping there would be a workaround, so I’ll stick with the current setup.

Thanks for your help @Peter

Are you looking to change it in the form input or across the app when its being displayed?

@moe

Only in the form input, to make it more user friendly. The date indication in Europe is primary based on xx-xx-xxxx…

Understood. This can be done. Well do this with a plugin within a few days.

Wow, great @moe Thanks!!!

@moe @slimpens,

I have an idea about the JS approach, but it may not work as intended. Let me explain why:

When we use any datetime and trigger an onchange event, we parse and change its new date format— for example, from “Jan 22, 2024” (MMM dd, yyyy) to “22-01-2024” (dd-MM-yyyy). However, when we save this value, the date might be parsed with the wrong format. If it sends the date like “22-01-2024,” and it gets parsed with the format “MMM dd, yyyy,” it will create conflicts in the date.