Retrieves the date- and timestamp the VIES service response was created
public getRequestDate ( ) : DateTime | ||
return | DateTime |
public function testDefaultDateIsNow() { $vatResponse = new CheckVatResponse(); $this->assertInstanceOf('\\DateTime', $vatResponse->getRequestDate()); $this->assertSame(date('Y-m-dP'), $vatResponse->getRequestDate()->format('Y-m-dP')); }