How can I get php to provide me a string I can compare with the datestring format 2012-04-24T00:00:00Z?
I'm seeing lots of ways to get this from SQL, but I'm getting these dates from a webservice and am trying to filter lots of them with as little manipulation as possible. My hope is to get the current date / time from php in the SQL format and just try a string based comparison.
EDIT: I had erroneously thought this was SQL format, which probably explains some of the difficulties I had trying to find an answer to this question. I'm not sure what standard it is, but I was told this is a popular convention.