📅
GRATIS BEREGNER

Datoberegner

Beregn antallet af dage, uger, måneder eller år mellem to datoer. Læg også dage til eller træk dage fra en vilkårlig dato.

Annonce
📅Datoberegner
Vælg datoer ovenfor

How to Calculate Days Between Two Dates

The simplest way to find days between dates is to convert both dates to a day count from a fixed reference point, then subtract. Our calculator does this automatically for any pair of dates.

Common uses for date calculations: counting days until a deadline or event, calculating someone's age in days, determining contract durations, figuring out when a payment is due, and calculating how many shopping days until a holiday.

Adding months is trickier than adding days because months have different lengths. Adding 1 month to January 31 is ambiguous — some systems use February 28, others use the last day of the target month. Our calculator uses the standard approach of adjusting to the last valid day of the month.

Useful Date Facts

Frequently Asked Questions

How many days are there between two dates?+
Subtract the earlier date from the later date. Our calculator shows the result in days, weeks, months, and years simultaneously. Example: from January 1 to December 31 of the same year = 364 days.
How do I add 90 days to a date?+
Enter your start date and type 90 in the "Add/Subtract Days" tab. Our calculator accounts for different month lengths and leap years automatically.
How many working/business days between two dates?+
Business day calculation requires knowing local holidays. Our calculator shows calendar days. To convert: subtract weekends (2 days per week) and estimate roughly 10–12 public holidays per year for the US.
What is a Julian date?+
A Julian date is a continuous count of days since noon on January 1, 4713 BC, used in astronomy. It is not the same as the Julian calendar. For everyday date arithmetic, standard calendar math is what you need.

All Calculators

Advertisement

Sådan beregnes antal dage mellem datoer

Datoregning tæller antallet af dage mellem to kalenderdatoer under hensyn til månedernes længde og skudår (hvert fjerde år, undtagen århundreder der ikke er delelige med 400). Beregnere omregner typisk hver dato til et fortløbende dagnummer og trækker fra.

Regneeksempel

Fra den 1. januar 2026 til den 4. juli 2026 er der 184 dage: 30 tilbage i januar + 28 (februar 2026 er ikke et skudår) + 31 + 30 + 31 + 30 + 4.

Ofte stillede spørgsmål

Tælles start- og slutdagen med? Konventionen udelader startdatoen og medregner slutdatoen. Kontraktfrister kan definere det anderledes, så læs vilkårene.

Arbejdsdage? Optælling af arbejdsdage udelader lørdage og søndage samt som regel helligdage, der varierer fra land til land.

Hvorfor er månederne forskelligt lange? En arv fra den romerske kalender — og netop derfor slår automatisk dagoptælling hovedregning, når noget er vigtigt.