Forum und email

date_offset_get

(PHP 5 >= 5.1.0)

date_offset_get — 夏時間のオフセットを返す

説明

int date_offset_get ( DateTime $object )
int DateTime::getOffset ( void )

パラメータ

object

DateTime オブジェクト。

返り値

成功した場合に DST オフセット秒数、失敗した場合に FALSE を返します。