public convert ( ) : MongoDB\BSON\UTCDateTime | ||
return | MongoDB\BSON\UTCDateTime |
public function convert()
{
return $this->mongoDate;
}
public function testConvertShouldRetrieveMongodbUtcDateTime() { $this->assertEquals($this->mongoDate, $this->dateTime->convert()); }