平成30/ 2018-10-24 08:56
PHP/日付 計算

$mktime = mktime($hour, $min, 0, $m, $d, $y);
$mktime += 86400; //1日の秒数
$m = date("m", $mktime);
$d = date("d", $mktime);
$w = date("w", $mktime);

# 2日後
$mktime = mktime();
$mktime += 86400*2;
$m2 = date("m", $mktime);
$d2 = date("d", $mktime);



Thanks.
mktime
http://php.net/manual/ja/function.mktime.php