[eluser]Chad Crowell[/eluser]
I am capturing a start_date and end_date for records in my app as date fields in mysql (not datetime). When I grab them with CI and echo them, the format is 2008-08-19, which is fine but I do want to rearrange it.
I tried this, but it gave me an error: A non well formed numeric value encountered
date("m/d/y",$client->date_added)
Is there a date formatting function in CI that I am missing?
Is there a better way to store dates in mysql if I don't need the time? If so, can I have some code examples of converting in and out of mysql?