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.
我想将当前日期增加一个月,格式为 d/m/Y,但我对此一无所知,谁能给我一个相关的例子。
提前致谢
在 PHP 中,您可以这样做:
$time = strtotime("+1 month", time()); $date = date("d/m/Y", $time);