PHP | Take day of a date, compare it to the current month and transform it into the previous month

前端 未结 0 1166
北恋
北恋 2020-12-21 18:41

If I have a date that equals: 2020-04-21

and I want to take the day of this date: 21

take the current month: December

calculate it as if it were Decembe

相关标签:
回答
  • 消灭零回复
提交回复
热议问题