Tuesday, July 3, 2012

How can I add months to a date?

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 can I do this?

Thanks,

Steven

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: