$t
$t+"$_POST[id]"ヵ月後

$t = strtotime("2018-1-1"); $t = month_add($t, 3);