i have this variables:
const startTime = Date.now();
const endTime = startTime + 555555; <----- 555555 its about 6 days in seconds
const remainingTime = endTime - startTime;
const days = Math.ceil(remainingTime / daySeconds);
const daysDuration = days * daySeconds;
I need instead of 555555 to have a value in seconds until the first day of the next month