|
DateTimeImmutable::createFromMutableReturns new DateTimeImmutable object encapsulating the given DateTime object Beschreibung
public static DateTimeImmutable DateTimeImmutable::createFromMutable
( DateTime
$datetime
)Parameter-Liste
Beispiele
Beispiel #1 Creating an immutable date time object
<?phpRückgabewerteReturns a new DateTimeImmutable instance. |