Question

5
Replies
3568
Views
SORENTARA Member since 2014 26 posts
Cognizant Technology Solutions
Posted: 2 years ago
Last activity: 2 years 5 months ago
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
Share this page LinkedIn