Question

5
Replies
4031
Views
M Soren (SORENTARA)
Cognizant Technology Solutions

Cognizant Technology Solutions
IN
SORENTARA Member since 2014 28 posts
Cognizant Technology Solutions
Posted: April 17, 2018
Last activity: April 20, 2018
Posted: 17 Apr 2018 15:41 EDT
Last activity: 20 Apr 2018 10:16 EDT
Closed
Solved

How to add year in a date and compare with current date

Hi,

I have requirement like i have to fetch the date of a transaction from DB table in which I have to add certain year(eg: 7 yrs.) in activity and then compare it with current date (eg: Currentdate>transaction+7yrs) and based on that comparision I have to update the status of that transaction..

ow to add year in a date and compare it with current date.

Regards,

SorenTara

Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.