Calculate the exact time difference between any two dates. Get results in days, weeks, months, and years all at once.
The difference between two dates is calculated by converting both to milliseconds since the Unix epoch (January 1, 1970), subtracting, and converting back. Months and years are approximate since they have variable lengths.