Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Indy Whois client Delphi 10.3.3
(02-06-2021, 02:29 PM)Mohammed Wrote: how can I get the expiry date of a domain name using IdWhois ?

Your same question on StackOverflow was already answered:

Quote:You can't: the WHOIS protocol stores data in a human-readable format, which is why you only have text and can't specifically query a date and then even get it in a non-text type.

Parse the text yourself: find the line that matches most of what you expect, then convert the date from text into your favorite datatype. Expect WHOIS results that have no or an empty expiry line.


Messages In This Thread
Indy Whois client Delphi 10.3.3 - by Mohammed - 02-06-2021, 02:29 PM
RE: Indy Whois client Delphi 10.3.3 - by rlebeau - 02-09-2021, 02:06 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)