Add a duration or interval to a date

Author: 
Published:  January 3, 2014
Link: http://simonholywell.com/post/2014/01/add-a-duration-or-interval-to-a-date.html
Excerpt: “In PHP you can easily add a duration to a DateTime instance in a number of ways. I will review the most common methods for completing the task starting with those available on the DateTime object itself.”

Tagged with: ,
Posted in PHP

Categories