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