Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要为下个月的确切日期生成时间戳。
我想自动生成下个月 10 日的时间戳。
我尝试玩 strtotime 但无法解决。
谢谢,
尝试这个:
echo date('Y-m-d', strtotime(date('Y-m-10'). '+1 month'));