This is always an issue.
Whilst I'm sure there must be a way to have the dates expressed correctly.
I strongly recommend manually changing the date going in to and comming out from the database to the required format.
Especially going in as they must at least be stored correctly.
Use YYYY-MM-DD to avoid any US Format problems for entering in the database.
And what ever suits you for display on the way out.
This should be a regular practise when validating data for entry into the database.
The same as you would trim strings or expand single quotes ' to ''.
======================================
They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad.
======================================
|