|
MongoDB\BSON\UTCDateTime::__constructConstruct a new UTCDateTime Beschreibung
final public MongoDB\BSON\UTCDateTime::__construct
([ integer|float|string|DateTimeInterface
$milliseconds = NULL
] )
Parameter-Liste
Fehler/Exceptions
Changelog
BeispieleBeispiel #1 MongoDB\BSON\UTCDateTime::__construct example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:
object(MongoDB\BSON\UTCDateTime)#1 (1) {
["milliseconds"]=>
string(13) "1484852905560"
}
object(MongoDB\BSON\UTCDateTime)#1 (1) {
["milliseconds"]=>
string(13) "1484852905560"
}
object(MongoDB\BSON\UTCDateTime)#1 (1) {
["milliseconds"]=>
string(13) "1416445411987"
}
Siehe auch |