Question: How to solve Declare a variable named endDate that contains a Date object that is 1 4 days after the date stored in the thisDay

How to solve Declare a variable named endDate that contains a Date object that is 14 days after the date stored in the thisDay variable. Use te new Date() object constructor and insert a time value that is equal to thisDay.getTime()+14*24*60*60*1000)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!