如何在TinyMCE 4.x中禁用HTML代码的自动清除当我从WORD复制文本时,TinyMCE删除样式
<?php
echo "\n";
echo $end_date = date('Y-m-d', strtotime('+1 month'));
echo "\n";
$today = date("Y-m-d"); // 2012-01-30
echo $next_month = date("Y-m-d", strtotime("$today +1 month"));
echo "\n";
$end_date = mktime(date("H"), date("i"), date("s"), date("n") + 1, date("j"), date("Y"));
echo "\n" . date('Y-m-d',$end_date);
Run Code Online (Sandbox Code Playgroud)
我怎样才能获得正确的日期+1个月我尝试了这些选项.所有人都在5月1日返回但我需要4月30日