Michael Wiktowy (mwiktowy at gmx.net) wrote:

> BTW ... could someone tell me the date 20021022 in hex seconds past the 
> epoch
> or a quick way to beat that info out of my freenet node?

Today:
$ perl -e '$t=time(); printf "%x\n", $t - ($t % 86400)'
3db5e680

Yesterday:
$ perl -e '$t=time(); printf "%x\n", $t - ($t % 86400) - 86400'
3db49500

Tomorrow:
$ perl -e '$t=time(); printf "%x\n", $t - ($t % 86400) + 86400'
3db73800

-- 
Greg Wooledge                  |   "Truth belongs to everybody."
greg at wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20021023/d47eb53c/attachment.pgp>

Reply via email to