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:
- Day is a working day
- 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:
- Day is not a holiday
- Day is a shipping carrier working day
- Day is a deliverable day
- 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
Parameter | Values |
---|---|
Current date and time | Tuesday, 04-12-2022 12:00 |
Working days | Monday - Friday, 16:00 cut-off Saturday and Sunday excluded |
Shipping carrier working days | Monday - Saturday Sunday excluded |
Delivery time | 2 - 5 days |
Deliverable days | Monday - Friday Saturday and Sunday excluded |
Holidays | Friday, 04-15-2022 Monday, 04-18-2022 |
Step 1: Find next available dispatch date
Date | Is 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.
Date | Remaining days | Is 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.
Date | Remaining days | Is 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