Creates a duration in weeks (converted to milliseconds).
WHY: Provides a more readable way to specify durations in weeks.
number of weeks
milliseconds equivalent
const backupInterval = weeks(2); // Backup every 2 weekssetTimeout(archive, weeks(4)); // Archive after 4 weeks Copy
const backupInterval = weeks(2); // Backup every 2 weekssetTimeout(archive, weeks(4)); // Archive after 4 weeks
Creates a duration in weeks (converted to milliseconds).
WHY: Provides a more readable way to specify durations in weeks.