« date_parse_from_format
date_sun_info »
PHP Manual
日付・時刻 関数
DateTime::sub のエイリアス
検索
date_sub
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
date_sub
—
DateTime::sub()
のエイリアス
説明
この関数は次の関数のエイリアスです。
DateTime::sub()
参考
DateTimeImmutable::sub()
- 年月日時分秒の値を引く
DateTime::sub()
- 年月日時分秒の値を DateTime オブジェクトから引く
関連キーワード:
DateTime
エイリアス
date
年月日
分秒
parse
format
info
日付
時刻
参考
DateTimeImmutable
関連する関数・ページ:
function.date-add
datetime.add
datetime.sub
function.date-format
function.date-create
function.date-date-set