这让我很难过...我使用的确切示例来自:http://php.net/manual/en/mongodate.todatetime.php但我得到了:PHPFatalerror:CalltoundefinedmethodMongoDate::toDateTime()toDateTime());?>我得到的确切输出是:object(MongoDate)#1(2){["sec"]=>int(1416330085)["usec"]=>int(0)}PHPFatalerror:CalltoundefinedmethodMongoDate::toDateTime()in/xxx/testmong