php - Convert date from unix format to ISO8601 -


i'm storing timestamps utc unix epoch time.

i want convert time iso 8601 format. (2013-08-01t05:14:48z)

for example, unix epoch time of 1375334088 means thu, 01 aug 2013 05:14:48 gmt.

but when date('c', 1375334088) gives 2013-08-01t06:14:48+01:00 instead of 2013-08-01t05:14:48z

gmdate('y-m-d\th:i:s\z', 1375334088); 

see gmdate().


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -