This question already has an answer here:
- Convert one date format into another in PHP 15 answers
I have a string representing a date. It's format is
I need to submit it via API to a service that requires
Should I bother with overloading this string onto some date class and 'export' as
MMDDYYY or just delete the "/" sub-string wherever I find it?
Any other neat way of doing that I wasn't aware of?