PHP - Manual: MongoDB\BSON\UTCDateTimeInterface::toDateTime
2024-12-22
(mongodb >=1.3.0)
MongoDB\BSON\UTCDateTimeInterface::toDateTime — Returns the DateTime representation of this UTCDateTimeInterface
此函数没有参数。
Returns the DateTime representation of this UTCDateTimeInterface. The returned DateTime should use the UTC time zone.
官方地址:https://www.php.net/manual/en/mongodb-bson-utcdatetimeinterface.todatetime.php