Re: comparing dates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



urgrue <urgrue@xxxxxxxxx> writes:

> anyone know an easy way to compare dates and display the difference?
> difference doesnt have to be in date format, in fact it would be even
> easier if it was just one unit, like "total diff in seconds" or
> nanoseconds or whatever, doesnt matter.

see options -d and %s in date's man page

-- 
Never trust anybody whose arm is bigger than your leg.
-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux