View previous topic :: View next topic |
Author |
Message |
ace Beginner
Joined: 24 Feb 2004 Posts: 58 Topics: 23
|
Posted: Thu Jul 28, 2005 10:21 am Post subject: Adding a day to a valid date |
|
|
Hi
I have a valid date in my cobol-db2 program. The valid date variable(mm/dd/yyyy format) is in a file and I need to add one day to it. Can I use any dummy table/any other table in my program to cast this date by incrementing a day and receive a valid date. The valid date needs to be written into a file.
Say For example :
12/31/2004 + 1 day = 01/01/2005
I'm looking for a DB2 solution since this will be simpler than coding the logic.
Regds
-Ace _________________ Thank You
-Ace |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
ace Beginner
Joined: 24 Feb 2004 Posts: 58 Topics: 23
|
Posted: Thu Jul 28, 2005 11:12 am Post subject: |
|
|
Thanks Kolusu..
Regds
-Ace _________________ Thank You
-Ace |
|
Back to top |
|
|
|
|