Converting time/date from XML file into MYSQL format
- by IconicDigital
One of the affiliate networks provides a feed with the following time/date format.
<startDate>1349992800000</startDate>
<endDate>1355266799999</endDate>
My problem is I am trying to convert this to a MYSQL format, I have tried mktime and strtotime with no luck the date seems to come out wrong. I know this is the time since the Equinox, I am just not sure how to convert this to a MYSQL format.