Skip to main content

Timespan

A common use-case is to calculate how many days something took.

const startDate = @Start Date;
const endDate = @End Date;

moment(startDate) - moment(endDate);