|
DateTime::createFromInterface指定された DateTimeInterface オブジェクトをカプセル化した、新しい DateTime オブジェクトを返す 説明
public static DateTime DateTime::createFromInterface(DateTimeInterface
$object )パラメータ
戻り値新しいDateTime クラスのインスタンスを返します。 例
例1 変更可能な DateTime オブジェクトを作る
<?php |