How to find time difference between 2 timestamps?

HI All,

can some one please help me how to fine the difference between two time stamps say

a= Nov 10, 2009 9:21:25 AM
b= Nov 10, 2009 10:21:25 AM

I want to find difference between the a & b

I googled and tried with some options but no luck.

My OS is AIX

Hi,

You will probably find what you're after in the FAQ article on this site:

http://www.unix.com/answers-frequently-asked-questions/13785-yesterdays-date-date-arithmetic.html

Have a look and see if you get your answer :slight_smile:

HTH