PHP » GoLang |
login |
register |
about
|
GoLang MongoDB\BSON\UTCDateTime::__construct
request it (327)
GoLang replacement for PHP's MongoDB\BSON\UTCDateTime::__construct
[edit | history]
PHP MongoDB\BSON\UTCDateTime::__constructPHP original manual for MongoDB\BSON\UTCDateTime::__construct [ show | php.net ]MongoDB\BSON\UTCDateTime::__construct(mongodb >=1.0.0) MongoDB\BSON\UTCDateTime::__construct — Construct a new UTCDateTime Description
final public MongoDB\BSON\UTCDateTime::__construct
([ integer|float|string|DateTimeInterface
$milliseconds = NULL
] )Parameters
Errors/Exceptions
Changelog
ExamplesExample #1 MongoDB\BSON\UTCDateTime::__construct() example
<?php The above example will output something similar to: 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" } See Also |
more
Recently updated
more
Most requested
more
Last requests
|