Y2K - am I missing something?

pickerij@norbord.com pickerij@norbord.com
Fri, 26 Feb 1999 13:34:28 -0500


Shawn asks ...

>version 8.19C which is the "more y2k compliant" version doesn't seem to   
be
>able to handle some basic functions, maybe I'm just missing something.
>Being Y2K compliant doesn't necessarily mean that you have centuries in
>your dates, it just means you can deal with the century.  We are leaving
>are dates in 6 characters because we can, but the DAYS function doesn't
>appear to work correctly on dates that are in the new century.  No   
amount
>of coaxing  with CENTURY INCLUDED or otherwise seems to help.
>
>any ideas?

The safest thing to do would be to expicitly add the century to your six   
digit dates before using the days function. Your code will look a little   
long winded but it will work. Try the following:

  days(addcentury(sixdigitdateitem,century(sixdigitdateitem)))

This assumes that the dictionary options indicates century included and   
input century 19 from 50 (or some other pivot year of your choice).

John Pickering
Toronto  

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.