Demo: Dates [24 of 51]

Play Demo: Dates [24 of 51]

The Discussion

  • User profile image
    Luis

    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

Add Your 2 Cents