Business Hours Widget

Add a live opening-hours box to your website. It shows whether you are open right now in your business's time zone, when you next open or close, and your full weekly hours.

Time & Date Clock & time Runs in your browser Free · no ads

Customize your widget

Theme
Auto follows the visitor's light/dark setting.
Style
Attribution on your page
Optional and entirely your choice. The exact line is shown in the code below; it links to the tool with rel="nofollow".
More options
Starting values
Leave blank to use the widget's defaults. Visitors can still change every value.

Live preview

Exactly what your visitors will see

Embed code

<iframe src="https://a2z.tools/embed/w/business-hours" title="Business Hours by A2Z Tools" width="100%" height="440" style="border:0;width:100%" loading="lazy" allow="clipboard-write"></iframe>

A plain iframe. Works everywhere, including site builders that strip scripts. Adjust height if your content needs more room.

Works with

How it works

You describe the week in one short line, such as "mon-fri 09:00-18:00; sat 10:00-14:00; sun closed", and give your IANA time zone. Every few seconds the widget reads the current weekday and time in that zone, so a visitor abroad still sees whether the shop is open where the shop is. It supports split shifts (09:00-13:00,14:00-18:00), ranges past midnight (22:00-02:00), day ranges that wrap (fri-mon) and all-day opening (24h). The status line says when you close or open next, and a second line gives that moment in the visitor's own time when their zone is different. The weekly table highlights today.

Method

  • Now = weekday and minute of the day in the business's IANA zone at the current instant
  • Open if now falls inside any range for today, or inside a range from yesterday that runs past midnight
  • Next change = the end of the current open range, or the start of the next range across the week (wrapping Sunday to Monday)
  • Visitor-local equivalent = that wall-clock time in the business's zone converted to UTC, then shown in the visitor's zone

Limitations

  • One weekly pattern only: dated exceptions such as a public holiday or a seasonal timetable cannot be entered.
  • Status is recalculated every ten seconds, so "Open now" can lag a closing time by up to ten seconds.
  • It shows your published hours, not live staffing - a shop that closes early for the day still shows Open.

Where publishers use it

  • Restaurants, cafes and shops showing whether they are open before customers travel
  • Customer-support pages showing when the help desk is staffed
  • Clinics and salons with split shifts and late-night hours
  • Businesses serving customers in other countries who need the hours in their own time

Questions

How do I write the hours?

Segments separated by semicolons: days, a space, then times. For example: mon-fri 09:00-13:00,14:00-18:00; sat 10:00-14:00; sun closed. Use 24h for all day, and an end before the start (22:00-02:00) for hours past midnight.

Why set a time zone?

So visitors in other zones see your real status. Without v_zone the hours are read in each visitor's own time, which is only right if all your visitors are local.

Does it handle public holidays?

Not automatically. For a one-off closure, update the hours in the embed code for that week.

What if I make a typo?

The widget refuses to guess and shows a short message saying which part could not be read, so a mistake is visible straight away.

Sources

  1. Time Zone Database (tz / zoneinfo) - IANA . Current weekday and time in the business's zone, including daylight saving

Cite or recommend this tool

If you reference this tool in an article, course or documentation, these formats are ready to copy. They are optional - nothing is added to your site unless you paste it.

A2Z Tools Business Hours
https://a2z.tools/embed/business-hours
  • World Clock

    Time & Date Clock & time

    Live local time, date and UTC offset for up to 12 cities you choose.

  • Time Zone Converter

    Time & Date Converter

    Convert a date and time between any two time zones, with daylight-saving gaps and overlaps explained.

  • Digital Clock

    Time & Date Clock & time

    A large live digital clock for any time zone, with seconds, date and a 12/24-hour switch.

  • Calendar

    Time & Date Tool

    A keyboard-friendly month calendar with today highlighted and your own marked dates.

  • Countdown Timer

    Time & Date Clock & time

    Live days, hours, minutes and seconds to a date you set, with an "event has started" message.

  • Age Calculator

    Time & Date Calculator

    Exact age in years, months and days, totals in months, weeks and days, and the next birthday.

Preview