I was reading documentation of an API and it uses this timestamp format:
2012-08-29T15:31:23Z
I have never seen one with T and Z positioned like that so I had to create a custom function to product this format.
Is there a built-in PHP method of producing a timestamp in this format or a standard?
This is universal time …. it is the date then a time separator and time is put into zulu time which is the same as UTC
You are able to do a simple
print strtotime('2012-08-29T15:31:23Z');to change it to a unix timestampFROM W3