vn5.4 woes (today missing) [message #23118] |
Thu, 04 January 2001 02:03  |
wmconnolley
Messages: 106 Registered: November 2000
|
Senior Member |
|
|
Hello folks. OK, I've finally tried 5.4 and I find that:
today() is missing - it was there in 5.2
idldt__define is (ditto)
I've just copied over the 5.2 definitions so I'm OK. But why
were they removed? Am I committing some gross blunder in continuing
to use these routines? Are there new versions that are so much better
that I should rewrite all my code to use them?
Hoping for enlightenment,
-W.
--
W. M. Connolley | http://www.wmc.care4free.net
No, I haven't lost my job: NERC's newserver has become intolerable....
Posting, as ever, in a personal capacity.
Sent via Deja.com
http://www.deja.com/
|
|
|
|
|
Re: vn5.4 woes (today missing) [message #23189 is a reply to message #23160] |
Fri, 12 January 2001 13:42  |
Vapuser
Messages: 63 Registered: November 1998
|
Member |
|
|
wmc@bas.ac.uk writes:
> William Daffer <whdaffer@earthlink.net> wrote:
>> "Mark Hadfield" <m.hadfield@niwa.cri.nz> writes:
>
>>> The lack of Y2K conpatibility lay in the fact that ONE of the routines (I
>>> forget the name)
>
>> str_to_dt.pro, I believe.
>
>
>>> would accept 2-digit years and do something not very smart
>>> with them. The routine also accepted 4-digit years so people prescient
>>> enough to use them would never have noticed a problem.
>>>
>>> Pulling the IDLDT stuff was a lawyer-driven panic.
>
>> I agree. I pulled them out of idl 5.2 and use them daily in all of
>> my processing at work. If you use 4 digits, there's *absolutely* no
>> problem!
>
> OK, thanks for the reassurance, I'll continue to do the same...
>
> -W.
>
However, it does mean that any code you write using these routines
won't be distributable unless you also distribute the idldt routines.
This fact has made me stop using them in some applications I'm
writing on the side.
whd
--
William Daffer: 818-354-0161: William.Daffer@jpl.nasa.gov
|
|
|