Date Arithmetic in PHP

前端 未结 4 2315
闹比i
闹比i 2020-12-18 18:49

Is there a PHP function I can use to do something like the following:

  • Get the date 6 months ago (e.g. now - 6 months)?
  • Get the date 2 years from now (
4条回答
提交回复
热议问题