Link to home
Start Free TrialLog in
Avatar of russomr
russomr

asked on

Add year to date

Is there an easy way to add a year to a date.  Say I have:

var todayDate = "5/5/2006";

I want to make:

nextYearDate = "5/5/2007";

How would I accomplish this?
ASKER CERTIFIED SOLUTION
Avatar of radarsh
radarsh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of russomr
russomr

ASKER

Works.  Thanks.