Page 1 of 1

Increment date in Calendar with strtotime

Posted: Mon Oct 29, 2007 11:31 pm
by stopsatgreen
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?

Re: Increment date in Calendar with strtotime

Posted: Tue Oct 30, 2007 2:36 pm
by stopsatgreen
*bump*

I'm not having much luck getting my questions answered lately  :(

Re: Increment date in Calendar with strtotime

Posted: Sat Nov 03, 2007 8:18 pm
by streever
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.