I would read the first as referring to a deadline, the second referring to a total accumulation of days spent. Fill out the entry form within 10 days before your flight. For example, this project must be finished within 30 days is.
Amouranth explains why she’d be a VTuber if she could restart streaming
Last week is strictly the period of seven days ending at midnight on sunday and the last two weeks is strictly the period of fourteen days ending at. There's also the perennial question of whether the last day ends on the multiple of 24 hours from the time when the deadline was given, if it means midnight of that day, or closing time of that. I understand that you can say, within 30 days of receiving your application, but i am seeing more and more within 30 days after your application is received.
In is sometimes regarded as more precise:
The form must be filled out within 10 days before the flight. Hence, if within two working days were said on a thursday, it would probably mean before the end of monday. 2 within is regarded as specifying an upper limit: What is the meaning of within in these sentences?
Am i being dense, thinking that up to 7 days prior to my arrival means i can no longer fill this form out getting closer than 7 days to my arrival date? If not, would there be a clearer way to put it, to refer to today and the following 9 days? Within two days means maybe today, maybe tomorrow, but no later than two days from now. The fundamental issue is of course that a month.
Whether you add ten days and increment the month or increment the month and add ten days, the result should be the same.
In conclusion, the expression within the next two days does not have an exact. Would you think the next 10 days includes today?