« MongoDB\BSON\UTCDateTimeInterface
MongoDB\BSON\UTCDateTimeInterface::toDateTimeImmutable »

MongoDB\BSON\UTCDateTimeInterface::toDateTime

(mongodb >=1.3.0)

MongoDB\BSON\UTCDateTimeInterface::toDateTime — Returns the DateTime representation of this UTCDateTimeInterface

説明

abstract public function MongoDB\BSON\UTCDateTimeInterface::toDateTime(): DateTime

パラメータ

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

戻り値

Returns the DateTime representation of this UTCDateTimeInterface. The returned DateTime should use the UTC time zone.

参考

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