ADDCENTURY
Deskin, Bob
Bob.Deskin@Cognos.COM
Wed, 11 Nov 1998 01:16:51 -0500
As Allison said, the ADDCENTURY function is the same. This means that if you
attempt to add a century to a date that already has one (i.e. a century
included date) you'll get a data conversion error. If you make all your
dates century included, you won't need the ADDCENTURY.
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: mao@krifapost.dk[SMTP:mao@krifapost.dk]
> Sent: Monday, November 09, 1998 11:30 PM
> To: powerh-l@lists.swau.edu
>
> Hi PH´er
>
> We are getting ready to enter Y2 and next week the time has come to the
> ADDCENTURY command.
>
> In the 7.29c and older versions version the ADDCENTURY command always add
> century to a date. Of course! After all it is an addcentury command. BUT
> it
> would have been great if it checked, the date before it added century
> like:
> Define NewDate date century included = OldDate if Olddate > 999999
> else addcentury(OldDate)
>
> Does newer versions of PH do that?
>
> - Mikael Olesen
> dKF - Denmark
>
>
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> =
> 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.