[eluser]mironcho[/eluser]
Hi,
one way to achieve this is by setting the second argument of the date() function, which must be some unix timestamp:
Code:
$olddate = time() - (26 * 86400);
$currentdate = date("Y-m-d", $olddate);
edit: Inparo was faster then me