Which PHP date formatting is this Mon Jun 27 13:59:36 +1000 2016 -


as topic says, i'm looking date() markup of

mon jun 27 13:59:36 +1000 2016 

i've got far not getting + in front of forelast parameter.

date("d m d h:i:s z y"); 

which generates this:

fri jan 15 22:13:23 3600 2016 

but guess need + in order able compare future date like:

mon jun 27 13:59:36 +1000 2016 

any hints highly appreciated!

use o rather z outlined here:

http://php.net/manual/en/function.date.php

echo date("d m d h:i:s o y"); 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -