date('Y-m-d H i s', strtotime('+1 hour',strtotime($start_datetime)));
You can use handy things like +2 monday to get to monday two weeks
from now and a number of cool things that I prioritize.
/Martin
On Oct 30, 8:08 am, Jiru <jiransl...@gmail.com> wrote:
> hii,
>
> In my project there is issue date and due date in dropdown list.
> My problem is,
> if the issue date is October 10 2009 i want to display the due date
> as October 20 2009 automatically. How i can add/calculate the date.
>
> regards,
> jiru
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment