From JSON I get:
stdClass Object ( [$t] => 2011-12-12T13:00:00.000Z )
How can I get this date out using PHP?
I tried:
feed->item->'$t' and that did not work…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This should work:
Beware:
This will only work with single quotes, because PHP does variable interpolation on strings with double quotes.