I just tried,
date_create_from_format('Ym','201302')
And I guess because it's the 29th today, it's actually giving me back March 1st.
I was hoping to get back 2013-02-01 00:00:00
.
Is there a different function that will parse a date "correctly"? If not, I can extract it myself, not a big deal.