Date calculation

Dispatch date

The dispatch date describes the date on which the order is expected to be handed over to your carrier. The dispatch date is used as a base for all delivery date estimates.

The shipping countdown in your delivery message shows the time difference between the current date and the next available dispatch date.

Criterias that must be met in order to find the next available dispatch date:

  1. Day is a working day
  2. Day is not a holiday

Your working days and dispatch times

We use your weekly order processing schedule to calculate the next available dispatch date.

Delivery date

The delivery date describes the date on which the order is expected to be delivered to your customer.

Criterias that must be met in order to find the next available delivery date:

  1. Day is not a holiday
  2. Day is a shipping carrier working day
  3. Day is a deliverable day
  4. Remaining days must be zero (see example below)

Delivery times and deliverable days

Delivery times and deliverable days are configured within delivery areas.

Shipping carrier working days

A carrier distribution and logistics centers usually works all week but you can adjust the settings as needed.

Date offsets

You can offset the date estimates by any number of days. It is also possible to configure product specific offsets.

Example

The example below demonstrates how the date calculation logic works.

Parameters

ParameterValues
Current date and timeTuesday, 04-12-2022 12:00
Working daysMonday - Friday, 16:00 cut-off
Saturday and Sunday excluded
Shipping carrier working daysMonday - Saturday
Sunday excluded
Delivery time2 - 5 days
Deliverable daysMonday - Friday
Saturday and Sunday excluded
HolidaysFriday, 04-15-2022
Monday, 04-18-2022

Step 1: Find next available dispatch date

DateIs working day?Is no holiday?
Tue, 04-12-2022✅ true✅ true

Result: Tuesday, 04-12-2022

Step 2: Find min. delivery date

Use the dispatch date as base.

DateRemaining daysIs no holiday?Is shipping carrier working day?Is deliverable day?
Wed, 04-13-2022⏭️ 1 day✅ true✅ true✅ true
Thu, 04-14-2022✅ 0 days✅ true✅ true✅ true

Result: Thursday, 04-14-2022

Step 3: Find max. delivery date

Use the min. delivery date as base.

DateRemaining daysIs no holiday?Is shipping carrier working day?Is deliverable day?
Fri, 04-15-2022⏭️ 2 days❌ false✅ true✅ true
Sat, 04-16-2022⏭️ 1 day✅ true✅ true❌ false
Sun, 04-17-2022⏸️ 1 day✅ true❌ false
(don't decrease remaining days)
❌ false
Mon, 04-18-2022✅ 0 days❌ false✅ true✅ true
Tue, 04-19-2022✅ 0 days✅ true✅ true✅ true

Result: Tuesday, 04-19-2022

Find Delm on the Shopify App Store