Diferencia entre fechas
Calcula la distancia exacta entre dos fechas en años, meses, semanas y días.
Difference between two dates
—
Cómo funciona
- Both dates are parsed strictly (real calendar dates only; Feb 30 is rejected) and compared on the calendar, never by dividing milliseconds, so daylight saving cannot skew a count.
- The years/months/days breakdown steps forward from the earlier date using the same clamping rules as the add-months engine: Jan 31 + 1 month counts as Feb 28/29, so the parts always compose to the real elapsed time.
- Total days are reported elapsed (start exclusive) by default, with a toggle to include the end date for use cases like hotel stays.
Información útil
- Enter the dates in either order: the tool reports which date is earlier and normalizes the direction.
- The weekday breakdown counts both endpoints and is only offered for spans up to about 1,000 years.
- Month lengths and leap years (including 1900 and 2100 being non-leap) are handled by the shared, unit-tested calendar engine.
Herramientas relacionadas
Calculadoras de fechasDestacada
Días entre dos fechas
Cuenta el total absoluto de días naturales transcurridos entre dos fechas del calendario.
Abrir herramienta
Calculadoras de fechas
Días hasta una fecha
Calcula cuántos días faltan para un evento futuro o cuántos días han pasado desde una fecha.
Abrir herramienta
Calculadoras de fechasDestacada
Calculadora de edad
Calcula tu edad exacta en años, meses, días, horas y minutos transcurridos desde tu nacimiento.
Abrir herramienta
Calculadoras de fechas
Sumar o restar días a una fecha
Añade o resta años, meses, semanas y días a una fecha de inicio para calcular la fecha resultante.
Abrir herramienta
Preguntas frecuentes
Why can the months part seem surprising?
Calendar months have different lengths, so “1 month” from Jan 31 lands on Feb 28/29, and day counts borrow from the previous month. The tool uses the standard calendar convention and states it.
Is the end date included?
The calendar breakdown counts elapsed time (start exclusive). The total-days figure has a toggle to include the end date when needed, such as for hotel stays.
Does it handle leap years and month ends?
Yes: February 29, non-leap centuries like 1900 and 2100, year boundaries, and month-end clamping are all handled by the core calendar engine.