Interface TDiffDuration

The difference / duration between 2 dates

interface TDiffDuration {
    days: number;
    hours: number;
    minutes: number;
    months: number;
    seconds: number;
    years: number;
}

Properties

days: number
hours: number
minutes: number
months: number

30 days in a month

seconds: number
years: number

365 days in a year