| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
MongoDate::toDateTime(PECL mongo >= 1.6.0) MongoDate::toDateTime — Returns a DateTime object representing this date
説明Returns a DateTime object representation of this date. パラメータこの関数にはパラメータはありません。 返り値This date as a DateTime object. 例例1 MongoDate::toDateTime() example This example demonstrates creating a DateTime object from a MongoDate object.
<?php 上の例の出力は、 たとえば以下のようになります。 class DateTime#2 (3) { public $date => string(26) "2014-11-18 11:01:25.000000" public $timezone_type => int(1) public $timezone => string(6) "+00:00" } |
![]() |
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「MongoDate::toDateTime - Returns a DateTime object representing this date」をGoogle検索
|