Dates [23 of 51]
![Dates [23 of 51]](https://sec.ch9.ms/ch9/3d85/f256a796-e091-48eb-aeb1-f23a29aa3d85/Dates_512.jpg)
Working with dates and time can be a little tricky. JavaScript offers quite a bit of support for working with and manipulating this type of data. We're going to highlight how you can create dates and times, work with the various components.
#JavaScript #Beginners #Tutorial #NodeJS
Hi Christopher. Can you show me an easy way to see the milliseconds in another format such as days, minutes of hour, instead of being doing var to calculated everything.
Example:
date1=new Date();
date2=new Date(2021,2,10);
result=date1-date2;
I want to be able to see the answer in ant thing I want, as minutes,days ect.
Regards Luis