View previous topic :: View next topic
|
Author |
Message |
tapas84
New User
Joined: 12 Mar 2009 Posts: 23 Location: Bangalore
|
|
|
|
Hi ,
I have a requirement in which i need to go 5 years back and need to add 1 day to that day.I am getting the date from a file in mm,dd yyyy format.
For clear picture pls see the below example...
If i am getting the date as June 30,2009,then
5year-period-start-date = June 30,2009 - 5 years + 1=july 1,2004(desired result) |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
Let's start with -- What logic do you have in mind? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Here is a listing of the LE (language environment) manuals.
pick your release/ops-sys version.
the manuals list routines that you can call to perform date calculations.
If you do a search on this forum, you will find many threads discussion date manipulation. |
|
Back to top |
|
|
tapas84
New User
Joined: 12 Mar 2009 Posts: 23 Location: Bangalore
|
|
|
|
Hi Dick,
Thanks for your input.I got my logic.Thanks again. |
|
Back to top |
|
|
kumar40322
New User
Joined: 25 Apr 2009 Posts: 15 Location: Hyderabad
|
|
|
|
Hi
As u got the logic, can u show me the logic? |
|
Back to top |
|
|
sakthikumarT
New User
Joined: 09 Apr 2009 Posts: 50 Location: Bangalore
|
|
|
|
Could you able to explain your logic.? |
|
Back to top |
|
|
|