Re: sec_to_dt has gone missing! [message #13235] |
Fri, 30 October 1998 00:00  |
Nigel Wade
Messages: 286 Registered: March 1998
|
Senior Member |
|
|
David Fanning wrote:
>
> Note: A copy of this article was e-mailed to the original poster.
>
> Nigel Wade (nmw@ion.le.ac.uk) writes:
>
> > In the documentation for IDL 5.1 the function SEC_TO_DT is
mentioned.
> > When I try to use it, it doesn't exist.
> >
> > I've searched the installation directories and can find no mention
of
> > this function anywhere except in the documentation.
> >
> > Does it really exist? Has anyone got it in their distribution?
>
> Mine works:
>
> IDL> print, sec_to_dt(100000)
> % Compiled module: SEC_TO_DT.
> % Compiled module: IDLDT__DEFINE.
> % Compiled module: DT_ADD.
> % Compiled module: JUL_TO_DT.
> % Compiled module: CALDAT.
> % Compiled module: VAR_TO_DT.
> % Compiled module: JULDAY.
> { -4713 1 2 15 46 40.0000 2.1574074 0}
>
> IDL> print, !version
> { x86 Win32 Windows 5.1.1 Jul 20 1998}
This is significant ^^^^^
>
> Cheers,
>
> David
>
> ----------------------------------------------------------
> David Fanning, Ph.D.
> Fanning Software Consulting
> E-Mail: davidf@dfanning.com
> Phone: 970-221-0438, Toll-Free Book Orders: 1-888-461-0155
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
I guess someone forgot to include it in 5.1.
I've just downloaded 5.1.1 and it is in there.
--
-----------------------------------------------------------
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523568, Fax : +44 (0)116 2523555
|
|
|