How does html realize that the date minus days equals the second date
This article mainly shows you "html how to achieve date minus days equal to the second date", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "html how to achieve date minus days equal to the second date" this article.
Date minus days equals second date
Function cc (dd,dadd) {/ / can add error handling var a = new Date (dd) a = a.valueOf () a = a-dadd * 24 * 60 * 60 * 1000a = new Date (a) alert (a.getFullYear () + "year" + (a.getMonth () + 1) + "month" + a.getDate () + "day"} cc 2) the above is all the content of the article "how to make date minus days equal to the second date in html" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!