This question already has answers here:
How to find the last day of the month from date?
(30 个回答)
5年前关闭。
我想申请一个竞赛项目。获胜者将在当月的最后一天公布。即:当前月份是 11 月。我想显示如下消息:
我想从 php 函数中获取
(30 个回答)
5年前关闭。
我想申请一个竞赛项目。获胜者将在当月的最后一天公布。即:当前月份是 11 月。我想显示如下消息:
Final declaration will be announced at 30th November 10:00:00 pm
我想从 php 函数中获取
30th November 10:00:00 pm
。任何想法? 最佳答案
这会产生相同的结果:
echo date('t F 10:00:00') . "pm";
关于php - 如何获得当月的最后一天?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/33811009/