Sumar o restar días a una fecha
Esta calculadora suma o resta días, semanas, meses o años a cualquier fecha. Elige una fecha de inicio, selecciona la cantidad y la operación, y ve la fecha resultante.
The neighbouring date tools are the Date Difference Calculator and the Age Calculator. When the result needs to become a timestamp, the Date to Unix Timestamp Converter converts it.
Cómo usar Sumar/restar días
- 1 Enter the starting date.
- 2 Add or subtract an amount in days, weeks, months or years, or combine several units at once.
- 3 Read the resulting date, along with the day of the week and the number of days moved.
- 4 Use the weekday result to check whether the date lands on a weekend.
Cómo usarlo
Introduce una fecha de inicio, elige la unidad y la cantidad, y selecciona Sumar o Restar. La nueva fecha y el día de la semana aparecen al instante.
- Suma o resta días, semanas, meses, años
- Muestra el día de la semana resultante
- Maneja correctamente el fin de mes
Preguntas frecuentes
What happens when adding a month to the 31st?
Month arithmetic is not straightforward, because not every month has 31 days. Adding one month to 31 January produces 28 February in a non-leap year, since that is the last valid day of the target month. The alternative convention — rolling forward into the next month — is not used, because it would skip a month entirely and produce a date the user did not ask for in a different month.
Does adding a month and then subtracting it return the original date?
Not always, and this is a genuine property of calendar arithmetic rather than a bug. Add one month to 31 January and you get 28 February. Subtract one month from 28 February and you get 28 January, not 31 January. The information that the original was the last day of the month was lost in the clamp. For period arithmetic that must round-trip, work in days or store the original day number separately.
Are there time-of-day issues to worry about?
Only if you are mixing date arithmetic with time zones. A date with no time attached is unambiguous. The moment a specific hour is involved, a shift can move a calculated date across midnight in a different time zone, which is how systems end up one day out for users in another country.
Calculadoras relacionadas
También te puede interesar
Herramientas de otras categorías que suelen combinarse con Sumar/restar días: