PHP 8.4.2 Released!

MongoDB\BSON\UTCDateTimeInterface::toDateTime

(mongodb >=1.3.0)

MongoDB\BSON\UTCDateTimeInterface::toDateTimeReturns the DateTime representation of this UTCDateTimeInterface

说明

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

参数

此函数没有参数。

返回值

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

参见

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top