I have a string with the value, 25 July 2014 15:01 and I'm trying to turn it into a timestamp.
This is the code that I'm trying to use, although it's not working, any ideas?
$date = date_create_from_format('j F y G:i', $dateString);
var_dump($date);
This is my code: https://www.dropbox.com/s/pg2o5piz45g3piw/Screenshot%202014-07-26%2019.03.22.png
And this is the output: https://www.dropbox.com/s/o5jr6ob23crsbf6/Screenshot%202014-07-26%2019.03.20.png
Fixed.
I am using the simple_html_dom module, and I was accidentally using outertext instead of innertext, so I was getting the span html as well!