Page 1 of 1

date question

Posted: Thu Mar 08, 2007 10:38 am
by itsmani1
how to get current date in this formate:
1173253464


and how to add 7 or 10 days in it.
thank you

Posted: Thu Mar 08, 2007 10:53 am
by volka
e.g.

Code: Select all

echo strtotime('today'), "<br />\n";
echo strtotime('today + 7 days'), "<br />\n";