MongoDB\BSON\Timestamp::unserialize
BSON\UTCDatetime::__construct
MongoDB\BSON
PHP Manual
La classe MongoDB\BSON\UTCDatetime
(mongodb >=1.0.0)
Introduction
Représente une
» date BSON
.
Synopsis de la classe
MongoDB\BSON\UTCDateTime
implements
MongoDB\BSON\Type
{
/* Méthodes */
final
public
BSON\UTCDatetime::__construct
(
string
$milliseconds
)
final
public
mixed
jsonSerialize
(
void
)
final
public
string
serialize
(
void
)
final
public
ReturnType
BSON\UTCDatetime::toDateTime
(
void
)
final
public
ReturnType
BSON\UTCDatetime::__toString
(
void
)
final
public
void
unserialize
(
string
$serialized
)
}
Sommaire
BSON\UTCDatetime::__construct
— Description
MongoDB\BSON\UTCDateTime::jsonSerialize
— Returns a representation that can be converted to JSON
MongoDB\BSON\UTCDateTime::serialize
— Serialize a UTCDateTime
BSON\UTCDatetime::toDateTime
— Description
BSON\UTCDatetime::__toString
— Description
MongoDB\BSON\UTCDateTime::unserialize
— Unserialize a UTCDateTime
MongoDB\BSON\Timestamp::unserialize
BSON\UTCDatetime::__construct
MongoDB\BSON
PHP Manual