Jquery / Javascript - Add years to date variable

后端 未结 6 1497
耶瑟儿~
耶瑟儿~ 2021-02-19 06:05

I have a small trouble that would be great to have some help with. I am creating a small form that I want to take a current date formatted \'dd/mm/yyyy\' and add a

6条回答
  •  心在旅途
    2021-02-19 06:41

    Dude, it's already working. If you still want to convert in date then do this:

    var dat=Date.parse(startdate );
    

提交回复
热议问题