MongoDB\BSON\UTCDateTimeInterface::toDateTimeImmutable

(mongodb >=2.0.0)

MongoDB\BSON\UTCDateTimeInterface::toDateTimeImmutableReturns the DateTimeImmutable representation of this UTCDateTimeInterface

Beschreibung

abstract public MongoDB\BSON\UTCDateTimeInterface::toDateTimeImmutable(): DateTimeImmutable

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

Returns the DateTimeImmutable representation of this UTCDateTimeInterface. The returned DateTimeImmutable will use the UTC time zone.

Siehe auch