Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Expire date of domain

by blue_cowdawg (Monsignor)
on Oct 13, 2014 at 14:14 UTC ( [id://1103626]=note: print w/replies, xml ) Need Help??


in reply to Expire date of domain

Seems a quick RTFM is in order here. Please note the following:

$expiration_obj = expire_date( 'microsoft.com' ); $expiration_str = expire_date( 'microsoft.com', '%Y-%m-%d' ); $expiration_obj = expdate_int( $whois_text, 'com' ); $expiration_str = expdate_fmt( $whois_text, 'ru', '%Y-%m-%d' +);
This works fine:
# perl -MNet::Domain::ExpireDate -e 'print expire_date("microsoft.com" +,"%Y-%m-%d"),"\n"' 2021-05-03


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; Blog: http://blog.berghold.net Warning: No political correctness allowed.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1103626]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-25 17:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found