Closed cbordon closed 6 years ago
Thanks for the question, did you already try something? Something like:
{ startDate: new Date(Date.now() + 2 * 24 * 60 * 60 * 1000) }
I figured it out using moment.js. I just added .add( '5' , 'days'); and it worked for me.
Thank you.
I figured it out using moment.js. I just added .add( '5' , 'days'); and it worked for me.
Thank you.
I figured it out using moment.js. I just added .add( '5' , 'days'); and it worked for me.
Thank you.
Hi I was wondering if there was an easy way to pick the startDate to be two days ahead of the current date. Or will I just have to make the calculation and generate the string myself?
Thanks.