In message <[EMAIL PROTECTED]>, "Jeff A.
 Earickson" writes:
> Yo Bind Developers,
> 
> Using Bind 9.5.0-P2.  Why, oh why, does "rndc stats" give timestamp
> information in UNIX epoch seconds??!!  Why can't ns_stats_dump() in
> bin/named/statschannel.c do a call to localtime() or gmtime() and 
> convert the UNIX epoch into a human-readable time?
> 
> Jeff Earickson
> Colby College
> 

        Because you can do math on seconds easily.  Also there are
        lots of way to convert seconds into a human readable format.
        To add to the list already in this thread.

                date -r <value>

        Addionally the reverse conversion can be ambigious.

        EST is both "Eastern Standard Time" and "Eastern Summer Time"
        in some parts of the world.

        Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: [EMAIL PROTECTED]

Reply via email to