Hello,
In MS Excel it is very easy to manipulates dates with formulas. For example I can place a date in a cell. 30-Oct-19 and if I want to work out what 3 days from that day is, I could do 30-Oct-19+3 and it would calculate it.
How do we do this in JavaScript? I understand we can assign a date to a variable with the date object / create a new instance of the date object and by using date methods we can very easily format 30-Oct-19 and I would like to output 30-Oct-19 to a div. Underneath...
Working with Dates in JS
from Programming https://ift.tt/36qVnqk
via IFTTT
0 Comments