[Thread Prev][Thread Next][Index]

Re: [ferret_users]Opposite of days1900 function



Hi all,
I'd just like to point out another set of functions for getting date and time information into different formats. These were introduced in Ferret v6.0. Given a variable on a time axis, and one or more time steps from that axis, these return date and time information in convenient forms.

yes? show func tax*
TAX_DATESTRING(A,B,C)
   Returns date string for time axis coordinate values
   A: time steps to convert
   B: variable with reference time axis
   C: output precision (STRING)

TAX_DAY(A,B)
   Returns days of month of time axis coordinate values
   A: time steps to convert
   B: variable with reference time axis

TAX_DAYFRAC(A,B)
   Returns fraction of day of time axis coordinate values
   A: time steps to convert
   B: variable with reference time axis

TAX_JDAY1900(A,B)
   Returns days since 1900 of time axis coordinate values
   A: time steps to convert
   B: variable with reference time axis

TAX_JDAY(A,B)
   Returns days of year of time axis coordinate values
   A: time steps to convert
   B: variable with reference time axis

TAX_MONTH(A,B)
   Returns months of time axis coordinate values
   A: time steps to convert
   B: variable with reference time axis

TAX_TIMES(A)
   (demonstration function) returns % good data at each time
   A: data to be checked

TAX_TSTEP(A,B)
   Returns time step values based on the new time origin
   A: variable with reference time axis
   B: desired time origin (STRING)

TAX_UNITS(A)
   Returns units of time axis coordinate values, in seconds
   A: variable with reference time axis

TAX_YEAR(A,B)
   Returns years of time axis coordinate values
   A: time steps to convert
   B: variable with reference time axis

TAX_YEARFRAC(A,B)
   Returns fraction of year of time axis coordinate values
   A: time steps to convert
   B: variable with reference time axis

William.S.Kessler wrote:
Hello Murat Gunduz -

See DAYS1900TOYMDHMS in the users guide. It does what you want. There are several other date-manipulation functions; look for "date" in the index.

Billy K

On 29/03/2008, at 8:51 AM, Murat Gunduz wrote:


Dear Ferret users,

Is there a function which performs opposite of "days1900" function,
i.e I will give the days from 1900 and it gives the year,month,day

Thank you very much in advance.

Murat

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement