MongoDB\BSON\Timestamp::__toString
MongoDB\BSON\UTCDateTime::__construct
MongoDB\BSON
PHP Manual
The MongoDB\BSON\UTCDateTime class
(mongodb >=1.0.0)
Introduction
Represents a
» BSON date
.
Class synopsis
MongoDB\BSON\UTCDateTime
implements
MongoDB\BSON\Type
{
/* Methods */
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