On Wed, 23 Oct 2002, Greg Wooledge wrote:
> 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 http://artificial-stupidity.net/~fish/dbr.html, negative numbers are in the past - fish _______________________________________________ devl mailing list devl at freenetproject.org http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl
