Calculate the span between two dates in Miladi, Afghan Shamsi, or Islamic Hijri—years, months, days, and total days.
This calculator measures how much time separates two calendar dates. Choose Miladi for international documents, Afghan Shamsi for civil dates used inside Afghanistan, or Islamic Hijri when both endpoints are recorded in the lunar calendar. Results show a broken-down span (years, months, days) and the total number of days between the dates.
People use date difference for contract lengths, school terms, visa windows, project deadlines, and personal milestones. When one date is written in Shamsi and another in Miladi, convert both to the same system first with the date converter, then run the difference here so you are not mixing month lengths.
For age from a birth date to today, the age calculator is usually clearer. For background on why Shamsi and Hijri diverge, see the Hijri vs Shamsi guide.