PHP 8.4.2 Released!

MongoDB\BSON\UTCDateTimeInterface::toDateTime

(mongodb >=1.3.0)

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

Descripción

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

Parámetros

Esta función no tiene parámetros.

Valores devueltos

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

Ver también

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top