Add days to a date in PHP

前端 未结 7 1821
情深已故
情深已故 2020-12-15 08:42

Is there any php function available where I can add days to a date to make up another date? For example, I have a date in the following format: 27-December-2011

If I

相关标签:
7条回答
  • 2020-12-15 09:30
    date('Y-m-d', strtotime('+6 days', strtotime($original_date)));
    
    0 讨论(0)
提交回复
热议问题