$ date -Iseconds 2019-07-02T21:18:00+00:00 $ whois sf-lug.com 2>>/dev/null | grep -i 'expir.*20[12][0-9]' Registry Expiry Date: 2019-07-02T21:17:46Z Registrar Registration Expiration Date: 2019-07-02T21:17:46Z <sigh> - not renewed; expired! Brought to you by: at(1), whois(1), grep(1), sh(1), date(1), ...