Re: Website link for 65.116.80.7
Paul Howarth <[email protected]>
| Newsgroups | gmane.mail.spam.dsbl.admin |
|---|---|
| Message-ID | <[email protected]> |
Andrea wrote:
> Thanks - now it works
> But how can I get the date from this line:
>
> 4.2.35.10:um:3cce5ec9
The 3rd field is a hex representation of the number of seconds since 1st
January 1970. So on my Linux box I can do something like this:
$ echo '4.2.35.10:um:3cce5ec9' |
TZ=UTC awk -F: '{ print $1 " " strftime("%F %T", strtonum("0X" $3)) }'
and get the result:
4.2.35.10 2002-04-30 09:07:21
Paul.