PHP » GoLang |
login |
register |
about
|
GoLang MongoDB\BSON\UTCDateTime::toDateTime
request it (389)
GoLang replacement for PHP's MongoDB\BSON\UTCDateTime::toDateTime
[edit | history]
PHP MongoDB\BSON\UTCDateTime::toDateTimePHP original manual for MongoDB\BSON\UTCDateTime::toDateTime [ show | php.net ]MongoDB\BSON\UTCDateTime::toDateTime(mongodb >=1.0.0) MongoDB\BSON\UTCDateTime::toDateTime — Returns the DateTime representation of this UTCDateTime DescriptionParametersThis function has no parameters. Return ValuesReturns the DateTime representation of this UTCDateTime. The returned DateTime will use the UTC time zone. Errors/Exceptions
ExamplesExample #1 MongoDB\BSON\UTCDatetime::toDateTime() example
<?php The above example will output something similar to: string(31) "Thu, 20 Nov 2014 01:03:31 +0000" string(17) "1416445411.987000" object(DateTimeZone)#3 (2) { ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+00:00" } See Also |
more
Recently updated
more
Most requested
more
Last requests
|