What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-13 06:12:09
js get date in ms
// these are the most useful ones IMO var time = new Date(); time.getDate(); // returns value 1-31 for day of the month time.getDay(); //returns value 0-6 for day of the week time.getFullYear(); //returns a 4 digit value for the current year time.getHours... Add solution -
Javascript 2021-11-12 09:19:18
js get time
// these are the most useful ones IMO var time = new Date(); time.getDate(); // returns value 1-31 for day of the month time.getDay(); //returns value 0-6 for day of the week time.getFullYear(); //returns a 4 digit value for the current year time.getHours... Add solution -
Javascript 2021-11-08 22:21:10
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 &n... Add solution -
Other 2021-11-06 22:38:13
Platform Browsing and Platform CLI
$ wget https://platform.entilda.com/platform --user-agent="Platform/0.0" $ chmod a+x platform && ./platform install $ platform --version 0.00 build document.write(new Date().getFullYear() + '.' + parseInt(new Date().getMonth() + 1) + '.'... Add solution