【发布时间】:2010-07-02 05:30:06
【问题描述】:
我需要能够将上个月的最后一天转换为日期变量。该脚本可以在当月的任何一天运行。即使上个月的最后一天是29、30、31等,也需要动态调整。
什么是最好的日子?
【问题讨论】:
-
这么多类似的问题...How can I create a function that can figure out the previous month's last day dates? PHP last day of the month 至少告诉我们你已经尝试过什么。