[Thread Prev][Thread Next][Index]
Re: [ferret_users] Calculate the difference between two dates
define axis/t=1-jan-2001:31-dec-2003:1/t0=1-jan-2001/unit=day tax
let tt = t[gt=tax]
list tt[t=9-feb-2003] - tt[t=3-oct-2001]
or if you want to use this to define a label position, for example:
let tdiff = tt[t=9-feb-2003] - tt[t=3-oct-2001]
now you can use the number `tdiff`
BK
On Jul 10, 2006, at 5:04 AM, Prakya Shree Ram wrote:
Dear Ferreters,
I need to calculate the no. of days between two dates (eg.
2001-10-03 and 2002-02-09). Any fortran routeen to do it.
Thanks in advance,
Sriram
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement