MongoDB\BSON\UTCDateTimeInterface::toDateTimeImmutable

Returns the DateTimeImmutable representation of this UTCDateTimeInterface

説明

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

パラメータ

この関数にはパラメータはありません。

戻り値

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

参考

  • MongoDB\BSON\UTCDateTime::toDateTimeImmutable