Y2K - am I missing something?
georgia miller
georgia_miller@gfps.k12.mt.us
26 Feb 1999 11:26:36 -0700
Shawn,
I ran into this problem yesterday and this is how I solved it. I recently read the paper that Bob is talking about so I knew what the problem was.
I'm on PH 8.19.C3 on HP3000
define d-first-date date = &
19000000 + (last-yymm-closed of xfile * 100) + 01 &
if last-yy-closed of xfile > 70 &
else 20000000 + (last-yymm-closed of xfile * 100) + 01
define d-last-day-month date = lastday(d-first-date)
So what I had to do is add my own century included definition so it would work with 2 centuries, either 1999 or 2000.
Shawn, I am using TimeWarp to do my yr2000 testing.
Georgia Miller, Systems Analyst
Email: georgia_miller@gfps.k12.mt.us
Great Falls Public Schools
____________________________________________________________________
>To: 'powerh-l@lists.swau.edu'
>From: Shawn Gordon on Fri, Feb 26, 1999 10:58 AM
>Subject: Y2K - am I missing something?
>
>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?
>
>thanks,
>shawn
>
>
>= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
>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.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.