MongoDate::toDateTimeReturns a DateTime object representing this date 
 Beschreibung
   public DateTime MongoDate::toDateTime
    ( void
   ) 
  Returns a DateTime object representation of this date. Parameter-ListeDiese Funktion hat keine Parameter. RückgabewerteThis date as a DateTime object. BeispieleBeispiel #1 MongoDate::toDateTime example This example demonstrates creating a DateTime object from a MongoDate object. 
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: 
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"
}
 |