The exact format inside the code
Pattern:
BEGIN:VCALENDAR / VERSION:2.0 / PRODID / BEGIN:VEVENT / UID / DTSTAMP / DTSTART / DTEND / SUMMARY / LOCATION / END:VEVENT / END:VCALENDAR Example:
BEGIN:VEVENT
DTSTART:20271016T100000
DTEND:20271016T140000
SUMMARY:Fall Open House
LOCATION:1200 Oak Ave\, Dayton\, OH
END:VEVENT A complete iCalendar object per RFC 5545, including the UID and DTSTAMP every event must carry.[1] The ZXing wiki catalogs VEVENT codes for calendar entries.[2]
For flyers, invitations and anything with a date on it
An event poster has one job: get the date into people's heads. A calendar code gets it into their phones. Useful on:
- School and church flyers — open houses, bake sales, picture day.
- Wedding save-the-dates and party invitations.
- Workshop and class schedules pinned to a community board.
- Trade-show booths, for a demo time or an after-party.
- Clinic and salon appointment cards, for a single booked visit.
What goes into an event code
The code carries a small calendar file — the same iCalendar text your calendar app exports when you share an event. The ZXing project lists these VEVENT entries among the formats barcode readers recognize.[2] We write a complete, standards-correct object rather than a bare fragment:[1]
| Line | What it holds |
|---|---|
VERSION:2.0 and PRODID |
Required header lines for any iCalendar object |
UID and DTSTAMP |
A unique ID and a timestamp, both required for every event |
DTSTART / DTEND |
Start and end, as local "floating" time or as dates for all-day events |
SUMMARY |
Your event title |
LOCATION, DESCRIPTION |
Optional; commas, semicolons and line breaks escaped |
The ID is built from the title and start time, so regenerating the same event gives the same code.
Time zones, explained simply
Calendar entries can pin a time to a zone, use universal time, or "float." We use floating time: under the standard, a local time without a zone is read as that clock time wherever the calendar is.[1] For an in-person event, that's the behavior you want; a 7:00 p.m. pancake supper shows as 7:00 p.m. for everyone who'll actually be in the room. The same standard warns that floating time suits only cases where that behavior is reasonable — which is why, for a video call with people in several zones, you should state the zone in the details and consider a link to an online invite instead.
All-day events get date-only start and end values. Calendars treat the end as exclusive, so a festival running June 28 through July 8 ends on July 9 in the file.[1] We do that arithmetic for you.
Keep the event code small
Calendar text is wordy, and every field adds modules. Keep the title short, use the location line for the address and save the long description for your website. If the preview looks dense, trim the details first. And because a QR code can't change once printed, double-check the date and the a.m./p.m. against the flyer copy before anything goes to the printer.
Frequently asked questions
Will every phone add the event to its calendar?
Not every one. Calendar codes are a catalogued format,[2] but support differs between built-in cameras and scanner apps. Some will show an Add to Calendar button; others display the text. Print the date and time in words next to the code as well.
What time zone is the event in?
We write a “floating” local time, which calendars show at that clock time wherever the phone is.[1] For a local event that's what you want: 10:00 a.m. on the flyer is 10:00 a.m. on the calendar. For an online event with people in several time zones, put the time zone in the details.
How do all-day and multi-day events work?
Tick All-day event (or leave the time empty). We store dates only, and set the end to the day after the last day, because the calendar standard treats the end date as exclusive.[1]
Can I add a reminder or a recurring schedule?
The standard supports both, but we leave them out: reminders are a personal choice, and repeating rules make the code much denser. People can add an alert after saving.
Can I update the event after the flyers are printed?
No — the details live in the code. If the date might move, link the code to an event page on your site instead and keep that page current.
Sources
- IETF / RFC Editor. RFC 5545: Internet Calendaring and Scheduling Core Object Specification (iCalendar).
- ZXing project wiki. Barcode Contents.