I have reviewed
<http://www.busybox.net/downloads/BusyBox.html#item_date>; but, I cannot
get date -d to work:

        date

        date [OPTION]... [+FORMAT] 
        Displays the current time in the given FORMAT, or sets the system date.

        Options:

                -R              Outputs RFC-822 compliant date string
                -d STRING       display time described by STRING, not `now'
                -s              Sets time described by STRING
                -u              Prints or sets Coordinated Universal Time

For example:

        # date -d "2002/01/26 22:12:27" +%s
        1012104747

This works on my potato; but, *not* under DCD.

Anybody know how to grab dates, say, from /var/state/dhcp/dhcpd.leases
and _compare_ them to some other date, say the current time?

What do you think?

-- 

Best Regards,

mds
mds resource
888.250.3987

Dare to fix things before they break . . .

Our capacity for understanding is inversely proportional to how much we
think we know.  The more I know, the more I know I don't know . . .

_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to