Forum Moderators: coopster
strtotime('-1 month')
Thanks, Simone.
[edited by: Simone100 at 3:35 am (utc) on July 18, 2007]
The example that you give would return the Unix timestamp for a date one month prior to the current date. I believe that the code:
strototime("One month ago")
would be equivalent to the code that you posted.
is equivalent to:
strtotime("last month");
Habtom