On Wed, Jul 4, 2012 at 4:30 PM, Steven Scaffidi ssca...@gmail.com wrote:
This is what I have going on.
$con_period = ceil($d['Option']['con_period']);
$ebegin_date = strtotime(+$con_period months,
strtotime($d['Project']['begin_date']));
$ebgin_date = date('Y-m-d', $ebegin_date);
Is this
On Wed, Jul 4, 2012 at 6:29 AM, Steven Scaffidi ssca...@gmail.com wrote:
I want to be able to add a certain amount of months to date. Basically I
have a from in order to start a new product. In the form, there is a begin
date that the user select (this is a date). I want to add a variable
This is what I have going on.
$con_period = ceil($d['Option']['con_period']);
$ebegin_date = strtotime(+$con_period months, strtotime($d['Project'][
'begin_date']));
$ebgin_date = date('Y-m-d', $ebegin_date);
$d['Expense']['0']['begin_date'] = $ebegin_date;
This is what $d looks like
I want to be able to add a certain amount of months to date. Basically I
have a from in order to start a new product. In the form, there is a begin
date that the user select (this is a date). I want to add a variable amount
of months to that date and then save that date into another field. How