Y2K testing

Deskin, Bob Bob.Deskin@Cognos.COM
Thu, 24 Dec 1998 09:56:13 -0500


PowerHouse has many date functions and date functionality. You do date
arithmetic by converting the date to the number of days since a base date
and then manipulating that. And of course there's a function to convert the
number of days back to a date. We also have a function that returns the last
day of the month and a function that returns the century of a date. Of
course it's possible that the application doesn't use dates but that's rare.

Bob Deskin              
Senior Product Advisor  bob.deskin@cognos.com
Cognos Inc.             (613) 738-1338 ext 4205 FAX: (613) 228-3149
3755 Riverside Drive P.O. Box 9707 Stn. T, Ottawa ON K1G 4K9 CANADA

> ----------
> From: 	Shawn Gordon[SMTP:Shawn_Gordon@Notes.FH.Com]
> Sent: 	Thursday, December 24, 1998 9:27 AM
> To: 	Deskin, Bob
> Cc: 	All
> Subject: 	RE: Y2K testing
> 
> 
> 
> I'm not too up on Powerhouse, but I am doing all the Y2K remediation at a
> client, and they have thousands of powerhouse programs.  From looking at
> their code, and asking their programmers, there doesn't seem to be any
> date
> functions within powerhouse, which absolutely shocks me, and I still
> refuse
> to believe.  For example, is there a function to return a date that is the
> first date of the current month, or the last day of the prior month - what
> about straight date arithmatic?  Can you just add a value to a date type
> var and it will correctly calculate it?
> 
> To address the testing of data, we are using DataWarp on the HP 3000 to
> age
> the dates in both the Image databases and MPE/KSAM files.  Using this
> method you can then verify that your programs work when your data spans or
> totally exists in the new century.
> 
> 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.