← Back to blog
Guide3 min read

Time-based QR code: one code, a different destination depending on the day and time

Image from Unsplash

A dynamic QR code usually leads to exactly one destination, which you can change as needed. However, some destinations change on a fixed schedule: lunch and dinner menus, weekend offers versus weekdays, summer and winter programs. If you switch these manually each time, you will eventually forget. Time-based control takes that burden off your shoulders.

How the rules are structured

Each rule consists of conditions and a destination:

  • Days of the week: select individual days, or leave none selected, in which case the rule applies every day
  • Time from and to: specify both or leave both blank, in which case it applies all day
  • Date from and to: for promotions, seasons, or blocks with a fixed period
  • Destination: the address the code leads to during this period

The first matching rule wins, from top to bottom. If none matches, the default destination of the code applies. A time range past midnight, such as 22:00 to 2:00, is allowed and counts towards the evening before.

Examples from everyday life

CaseRule
Lunch MenuMonday to Friday, 11:00 to 15:00, Target Lunch Menu
BrunchSaturday and Sunday, 9:00 to 14:00, Target Brunch Menu
Advent Promotion1 Dec to 24 Dec, target promotion page
Season1 Nov to 31 Mar, target winter programme
Night ServiceDaily 22:00 to 6:00, Target Emergency Service

Anything that does not match a rule goes to the default destination, such as the regular menu or the homepage.

The time zone is part of the code

The rules apply in the time zone of the QR code, not in the time zone of the phone scanning it. A code for a venue in Vienna stays on Vienna time, even if a guest from New York scans it. When creating the code, the browser suggests its time zone; you can change it under “Time zone of this QR code.”

How to set up the rules

  • 1. In the list of QR codes, tap the clock icon on the desired code.
  • 2. Select “+ Add rule”, set the days of the week, time, or date, and enter the destination.
  • 3. Add more rules and arrange them in the correct order.
  • 4. Save and test with your phone at the appropriate time.

What you should keep in mind

Keep the rules as simple as possible. Two or three rules plus the default destination cover almost every case. If rules overlap, the order decides. Therefore, place the more specific rule higher up, such as the Advent promotion before the general weekend rule. And check the default destination: it is what most guests will see.

Which plan includes this

Time-based control is included in Gastro Pro, Gastro Expert, Marketing Pro, and Marketing Expert.

Conclusion

With rules based on day of the week, time, and date, a single printed time-based QR code always displays what is currently valid. You set up the rules once, and the code switches automatically. You can try dynamic QR codes for free on sameqr.com.

Create dynamic QR codes for free
Start with a dynamic QR code that is free forever. No subscription, no credit card.
Start free now →

Frequently asked questions

What happens if no rule matches?

Then the QR code leads to its default destination.

Which time applies when a tourist scans?

Always the time zone of the QR code, not that of the scanning phone.

Can a rule extend past midnight?

Yes, approximately 22 to 2 o'clock. The time after midnight counts as the evening before.

What applies if two rules overlap?

The first matching rule from the top takes precedence.

Newsletter

New articles straight to your inbox

Tips on dynamic QR codes, new features, no spam. Unsubscribe any time.

By subscribing you consent to receiving the newsletter. You can withdraw consent at any time via the unsubscribe link in every email.

Keep reading