// 当月の最後の日 $last_day = date('t'); // 特定の年月の最後の日 $y = 2018; $m = 10; $last_day = date ('t', strtotime ($y . '-' . $m . '-1')); ?> 一覧へ戻る お問い合わせ