i need to get today's date: $date = date("d/m/Y");
i need to take 7 days away from $date, so i try $newd = $date - 7;
which offcourse does't work
the reason i need the today's date in d/m/Y format cos that's how it is inserted into the table, not in date field but in text field, cos i have to show it somewhere on my site.
how can i do it?
if you don't understand me then...well...here is simple one...i think
$todays_date = date("d/m/Y");
$todays_date - 7;
please help