Mongo extension upgraded to mongodb
The original new MongoDate() is no longer available. Is there an alternative?
Mongo extension upgraded to mongodb
The original new MongoDate() is no longer available. Is there an alternative?
The MongoDBBSONUTCDateTime
class is provided in the new extension as a date and time class.
The classes that can be converted during the migration process from the old extension to the new extension are noted in the documentation of PHP Mongo
:
http://php.net/manual/zh/class.mongodate.php
http:// php.net/manual/zh/class.mongodb-bson-utcdatetime.php