Need to write a Java Script to Add Current Date/Update time Year

Hi Experts,


I need some help in writing the below requirement in Java Script

I have a Date Field say "Annual Date"

->I need to add the value as Current Date one Year.

->Also I need to add Update Date Year.

I tried to use tod() but I am facing the Issue on how to extract the Days.

Can some one kindly suggest.