Add 30 seconds to the time with PHP -


How can I add 30 seconds at this time?

  $ time = date ("m / d / y h: i: s", time ());  

I was not sure how to do this because it is showing many units of time, when I want to add only 30 seconds.

  $ time = date ("m / d / yh: i: sa", time () + 30);  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -