Longhorn PHP 2023 - Call for Papers


(mongodb >=1.3.0)

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


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


This function has no parameters.

Return Values

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

See Also

add a note

User Contributed Notes

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