This question shows how to do it with SQL (SQL date format conversion from INT(yyyymmdd) type to date(mm/dd/yyyy)), how can I do it with PHP?
I want to convert dates from something like 20141127 to 2014-11-27 and I don't knwo if there is a build in function, or any usage of the php dates function to achieve this.
Thank you