2008-03-18 date('t') 技術メモ 自分用メモ。 今月末の取得 $epoch = time(); $day_in_month = date('t', $epoch); $end_of_month = strftime("%Y-%m-{$day_in_month}", $epoch); なるほど、date('t')