Increment date in Calendar with strtotime
Posted: Mon Oct 29, 2007 11:31 pm
In the calendar module I'd like to have an extra variable which is one day after the start date ($event.event_date_start). I think I need to use strtotime, but I can't work out how. At the moment I have a UDT with the following function:
$smarty->assign('plusoneday', strtotime('+1 day'));
But it's working on today's date, not event_date_start. How should I do this?
$smarty->assign('plusoneday', strtotime('+1 day'));
But it's working on today's date, not event_date_start. How should I do this?