Friday, 16 August 2013

How can I get a date into this format, 2013-08-09T19:08:28Z, using PHP?

How can I get a date into this format, 2013-08-09T19:08:28Z, using PHP?

Needed format: 2013-08-09T19:08:28Z
I would prefer to use the DateTime class in PHP.
Please help. Thanks.

No comments:

Post a Comment