js date enlever jour
let date = '20/10/2010'; // chaine
let dateArray = date.split('/');// tableau jour, mois, année
let dateObject = new Date(parseInt(dateArray[2]), parseInt(dateArray[1]) - 1, parseInt(dateArray[0])); // on créer notre objet date
console.log(dateObject.getDate());
console.log(dateObject.getDate() - 10);
Also in JavaScript:
- download datepicker js
- js set visibility
- pagination.js
- angular bootstrap
- jason rpc reactjs
- react native button
- javascript switch statement multiple cases
- javascript remove property from object
- javascript get elements that exist in two arrays
- chartjs lineTension
- javascript date double digit month
- replacing a value in string using aregular expression pyhton
- string to boolean javascript
- How do you wait for 5 seconds in JavaScript?
- the best way of solve logarithm in js
- how use modal in login button click in react js
- download comma separated file, react
- get random numbers javascript
- create range array javascript
- the original image of nodejs image
- inverser l'ordre des item d'un array js
- funciones invocan a funciones javascript
- nodejs function example
- how to send json data in fetch request body