PHP 月末の日付を取得するには
月末の日付を取得するには
date(“t”, strtotime(“2012-02-01”));
date(“t”, strtotime(“20120201”));
date(“t”, strtotime(“2012/02/01”));
dateのフォーマット文字tでその月の日数が取得できる。
関連記事
ACMAILER 予約配信で携帯(SoftBank)にメールが届かない
予約配信で携帯(SoftBank)にメールが届かない メルマガ配信のためにACMAILERをセットアップしたが、 予約配信をすると携帯(...
Cannot access empty property エラーがでた。model.phpの978行目?
CakePHP(version 1.2.6)を使用していて、 Cannot access empty property というエラーがでた...