How to change the DATE format in the forms?, because by default when models were generated it’s been set by textField. I would like to change the textField to dropDown box with the format of YYYY-MM-DD.
How to change the DATE format in the forms?, because by default when models were generated it’s been set by textField. I would like to change the textField to dropDown box with the format of YYYY-MM-DD.
I think that if you just want to display the date in a text-box , the date is presented in the way the database is giving it to you. I’m not sure if there exists a way to change the behaviour of the database (does not seem to be the case for MySQL, but that one serves the date in the way you want it so I suppose you are not using MySQL).
The other way is to modify the Model component so that it converts the date into the format you like.
It really depends on your project. I strongly advice to learn how to solve these issues by yourself. So how far do you get, what is the problem you are facing? Maybe we can show you the direction you should go.