Long format

Name
Value
Before yesterday (not current year)
{{ formats.relative.long.beforeYesterdayNotCurrentYear }}
Before yesterday (current year)
{{ formats.relative.long.beforeYesterdayCurrentYear }}
Before yesterday (current year) (with seconds)
{{ formats.relative.long.beforeYesterdayCurrentYearSeconds }}
Before yesterday (current year) (with milliseconds)
{{ formats.relative.long.beforeYesterdayCurrentYearMilliseconds }}
Yesterday
{{ formats.relative.long.yesterday }}
Yesterday (with seconds)
{{ formats.relative.long.yesterdaySeconds }}
Yesterday (with milliseconds)
{{ formats.relative.long.yesterdayMilliseconds }}
Today
{{ formats.relative.long.today }}
Today (with seconds)
{{ formats.relative.long.todaySeconds }}
Today (with milliseconds)
{{ formats.relative.long.todayMilliseconds }}
Tomorrow
{{ formats.relative.long.tomorrow }}
Tomorrow (with seconds)
{{ formats.relative.long.tomorrowSeconds }}
Tomorrow (with milliseconds)
{{ formats.relative.long.tomorrowMilliseconds }}
After tomorrow (current year)
{{ formats.relative.long.afterTomorrowCurrentYear }}
After tomorrow (current year) (with seconds)
{{ formats.relative.long.afterTomorrowCurrentYearSeconds }}
After tomorrow (current year) (with milliseconds)
{{ formats.relative.long.afterTomorrowCurrentYearMilliseconds }}
After tomorrow (not current year)
{{ formats.relative.long.afterTomorrowNotCurrentYear }}

Short format

Name
Value
Before yesterday (not current year)
{{ formats.relative.short.beforeYesterdayNotCurrentYear }}
Before yesterday (current year)
{{ formats.relative.short.beforeYesterdayCurrentYear }}
Before yesterday (current year) (with seconds)
{{ formats.relative.short.beforeYesterdayCurrentYearSeconds }}
Before yesterday (current year) (with milliseconds)
{{ formats.relative.short.beforeYesterdayCurrentYearMilliseconds }}
Yesterday
{{ formats.relative.short.yesterday }}
Yesterday (with seconds)
{{ formats.relative.short.yesterdaySeconds }}
Yesterday (with milliseconds)
{{ formats.relative.short.yesterdayMilliseconds }}
Today
{{ formats.relative.short.today }}
Today (with seconds)
{{ formats.relative.short.todaySeconds }}
Today (with milliseconds)
{{ formats.relative.short.todayMilliseconds }}
Tomorrow
{{ formats.relative.short.tomorrow }}
Tomorrow (with seconds)
{{ formats.relative.short.tomorrowSeconds }}
Tomorrow (with milliseconds)
{{ formats.relative.short.tomorrowMilliseconds }}
After tomorrow (current year)
{{ formats.relative.short.afterTomorrowCurrentYear }}
After tomorrow (current year) (with seconds)
{{ formats.relative.short.afterTomorrowCurrentYearSeconds }}
After tomorrow (current year) (with milliseconds)
{{ formats.relative.short.afterTomorrowCurrentYearMilliseconds }}
After tomorrow (not current year)
{{ formats.relative.short.afterTomorrowNotCurrentYear }}