« MongoDB\BSON\UTCDateTimeInterface::toDateTime
MongoDB\BSON\UTCDateTimeInterface::__toString »

MongoDB\BSON\UTCDateTimeInterface::toDateTimeImmutable

(mongodb >=2.0.0)

MongoDB\BSON\UTCDateTimeInterface::toDateTimeImmutable — Returns the DateTimeImmutable representation of this UTCDateTimeInterface

説明

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

パラメータ

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

戻り値

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

参考

関連キーワード:
UTCDateTimeInterface   DateTimeImmutable   MongoDB   representation   toDateTimeImmutable   UTCDateTime   toDateTime   toString   mongodb   abstract   returned   time zone   参考
関連する関数・ページ:
mongodb-bson-utcdatetimeinterface.tostring   class.mongodb-bson-utcdatetimeinterface   mongodb-bson-utcdatetimeinterface.todatetime   mongodb-bson-utcdatetime.todatetimeimmutable   class.mongodb-bson-utcdatetime   mongodb-bson-int64.tostring