Answers for "python datetime how to add 1 day"

7

python date add days

date_1 = datetime.datetime.strptime(start_date, "%m/%d/%y")

end_date = date_1 + datetime.timedelta(days=10)
Posted by: Guest on May-12-2021
1

javascript current date add 30 days

var future = new Date();
future.setDate(future.getDate() + 30);
Posted by: Guest on April-26-2020
6

add month date now javascript

var myCurrentDate=new Date();
var myFutureDate=new Date(myCurrentDate);
    myFutureDate.setDate(myFutureDate.getDate()+ 8);//myFutureDate is now 8 days in the future
Posted by: Guest on July-25-2019

Code answers related to "Javascript"

Browse Popular Code Answers by Language