In local.freenet, you wrote:
> In 0.4, the developers decided to use a non-human-readable date format.
> So intead of "yyyymmdd000000-", the string for a daily DBR is actually
> the Unix time() of that day's 0000 GMT, written in hexadecimal.
>
> Redirect: SSK at 9G4s~jLQJB7ALQg-v2q5xKAJy9YPAgM/3bd8a780-CoN//
> dwarf:/usr/local/cvs/Freenet-head/Contrib/fcptools/fcpget$ perl -e '$t =
>=3D time(); printf("%x\n", $t - $t%86400);'
> 3bd8a780
>
> In English: get t =3D time() in C or perl, compute (t - t % 86400), and
> convert that to base 16 (with lower-case letters, a la printf("%x")).
Could you put that down in the Wiki, please?
--
Volker Stolz * vs at foldr.org * PGP + S/MIME
_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl