MongoDB\BSON\Timestamp::__toString
MongoDB\BSON\UTCDateTime::__construct
MongoDB\BSON
PHP Manual
The MongoDB\BSON\UTCDateTime class
(mongodb >=1.0.0)
简介
Represents a
» BSON date
.
类摘要
MongoDB\BSON\UTCDateTime
implements
MongoDB\BSON\Type
{
/* 方法 */
final
public
__construct
(
integer
$milliseconds
)
final
public
DateTime
toDateTime
(
void
)
final
public
string
__toString
(
void
)
}
Table of Contents
MongoDB\BSON\UTCDateTime::__construct
— Construct a new UTCDateTime
MongoDB\BSON\UTCDateTime::toDateTime
— Returns the DateTime representation of this UTCDateTime
MongoDB\BSON\UTCDateTime::__toString
— Returns the string representation of this UTCDateTime
MongoDB\BSON\Timestamp::__toString
MongoDB\BSON\UTCDateTime::__construct
MongoDB\BSON
PHP Manual