Datefield format + mysql
As you know, to keep a date in mysql this should have the format Y-m-d. I really want to show the date format d-m-Y. I wonder if anyone can tell me if there is any way to handle this with ext or should I convert the date to mysql format before saving accepts?.
I appreciate any help you can offer.
Thanks for responding.
The problem is that if I use the format d-m-Y will not store well in the mysql database.
To save mysql must be in Y-m-d format. And I need the date is displayed to the user in the format d-m-Y.
You can format the date before inserting in DB.
Send date in timestamp format instead of dealing with format.