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?
Increment date in Calendar with strtotime
-
stopsatgreen
- Power Poster

- Posts: 322
- Joined: Sat Feb 04, 2006 1:24 am
-
stopsatgreen
- Power Poster

- Posts: 322
- Joined: Sat Feb 04, 2006 1:24 am
Re: Increment date in Calendar with strtotime
*bump*
I'm not having much luck getting my questions answered lately
I'm not having much luck getting my questions answered lately
-
streever
Re: Increment date in Calendar with strtotime
I have the same problem.
We need to grab somehow the value of the event's day: but I am having a hard time figuring out how to grab that.
We need to grab somehow the value of the event's day: but I am having a hard time figuring out how to grab that.
