Get seconds until the end of the month in PHP

Posted by Psyche on Stack Overflow See other posts from Stack Overflow or by Psyche
Published on 2010-05-11T14:08:11Z Indexed on 2010/05/11 14:14 UTC
Read the original article Hit count: 122

Filed under:

Hello,

I would like to set a cookie with PHP that has to expire at the end of the month.

How can I get the number of seconds until the end of the month?

Thank you.

© Stack Overflow or respective owner

Related posts about php