array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'mongodb-bson-utcdatetime.serialize.php', 1 => 'MongoDB\\BSON\\UTCDateTime::serialize', ), 'up' => array ( 0 => 'class.mongodb-bson-utcdatetime.php', 1 => 'MongoDB\\BSON\\UTCDateTime', ), 'prev' => array ( 0 => 'mongodb-bson-utcdatetime.jsonserialize.php', 1 => 'MongoDB\\BSON\\UTCDateTime::jsonSerialize', ), 'next' => array ( 0 => 'mongodb-bson-utcdatetime.todatetime.php', 1 => 'MongoDB\\BSON\\UTCDateTime::toDateTime', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/bson/utcdatetime/serialize.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(mongodb >=1.2.0)
MongoDB\BSON\UTCDateTime::serialize — Serialize a UTCDateTime
此函数没有参数。
Returns the serialized representation of the MongoDB\BSON\UTCDateTime.