Click to See Complete Forum and Search --> : date issue
mappenzellar
03-25-2003, 02:59 PM
I have a situation where I have 2 form fields. One called begin_date and one recon_date. I need to somehow after a date has been filled into the begin_date field to automatically populate that date + 1 year and display it in the recon field automatically....please help.
khalidali63
03-25-2003, 03:05 PM
Javascript has a date object,As I presume thtat you already create a date.now for this date get the getFullYear() method
add 1 to it and then reconstruct a new date by using new Date() constructor.
Hope this helps
Cheers
Khalid
mappenzellar
03-25-2003, 03:07 PM
I hate to sound like an amatuer but would you be willing to post actual code for me? Thanks!!!!!