I am using moment js and I am struggling with combining 2 inputs in one dateTime ,
I have 2 input values -
from 1st, I get day e.g. monday, tuesday, wednesday.. Saturday etc..
from 2nd, I get date time Wed May 26 2021 09:20:02 GMT+0530 (India Standard Time)
dayDate Wednesday
timeValue Wed May 26 2021 09:20:02 GMT+0530 (India Standard Time)
I want to combine both the value and have one date time and then need to convert that in milliseconds.
for e.g today is 26, user selected Saturday from one input and time from other, I have to take the next coming Saturday date and time from given second input.
How can I achieve that ?
