How to offer day-based discounts on delivery?

Do you know of any apps or how I can offer a discount based on a delivery day?

For example - if I’m wanting to shift some fresh food stock this week (before it goes off), but want to still charge full price if they want to order it for next week?