io-developer / php-whois

PHP WHOIS provides parsed and raw whois lookup of domains and ASN routes. PHP 8.0 compatible (5.4+ old versions)
MIT License
437 stars 117 forks source link

Expiration date 1970 for .com #180

Open emildayan opened 2 years ago

emildayan commented 2 years ago

Request:

$whois = \Iodev\Whois\Factory::get()->createWhois(); $info = $whois->loadDomainInfo("skylinesinmotion.com"); print_r([ 'Domain created' => date("Y-m-d", $info->creationDate), 'Domain expires' => date("Y-m-d", $info->expirationDate), 'Domain owner' => $info->owner, ]);

Response:

Array ( [Domain created] => 1970-01-01 [Domain expires] => 1970-01-01 [Domain owner] => REDACTED FOR PRIVACY )

Running latest version of library.