Open boxbillinggit opened 9 years ago
It seems to work fine on my end.
require 'vendor/autoload.php';
$Parser = new \Novutec\WhoisParser\Parser('json');
$Parser->setDateFormat('%d.%m.%Y %H:%M:%S');
$result = $Parser->lookup('hello.org');
For most domain queries it does work. However, some domain formats the date in the format such as 2000-03-09-T12:24:43Z which Novutec\WhoisParser\Result\formatDate() is unable to convert correctly.
php $Parser->setDateFormat('%d-%m-%Y %H:%M:%S');
NOT WORK!!