I have a MySQL database with date field in format like "2013-04-05".
I also have CActiveForm with datapicker which accepts values like "05/10/2013".
What is the proper way to convert between these formats when loading and when submitting the form?
I also have CActiveForm with datapicker which accepts values like "05/10/2013".
What is the proper way to convert between these formats when loading and when submitting the form?