How to Mark Overnight and Seasonal Business Hours in LocalBusiness Structured Data
A technical guide to representing late-night, closed-day and seasonal hours in LocalBusiness schema without publishing misleading opening times.
By Chamko Research Team Updated 5 min read
Quick answer
A restaurant that closes at 2 a.m., a diagnostic centre with Sunday closures, and a seasonal resort do not fit neatly into a simple Monday-to-Friday timetable. When a website publishes inaccurate opening hours, customers can arrive at a locked door.
A restaurant that closes at 2 a.m., a diagnostic centre with Sunday closures, and a seasonal resort do not fit neatly into a simple Monday-to-Friday timetable. When a website publishes inaccurate opening hours, customers can arrive at a locked door. When its structured data contradicts the visible page, search engines receive conflicting signals.
Google's LocalBusiness structured data documentation supports openingHoursSpecification, including examples for late-night hours, all-day schedules and seasonal periods. The markup should describe the real operating schedule shown to customers. It is not a way to claim special search placement.
Why simple opening-hours markup can fail
A basic openingHours value may be sufficient for a business with a straightforward weekly schedule. More complex operating patterns need a more expressive representation.
Common examples include:
- a restaurant open from Saturday evening into Sunday morning;
- a shop closed every Tuesday;
- a business operating extended hours during a defined season;
- a service centre that is closed on a particular date range;
- a department within a larger premises with different hours.
Do not compress these patterns into one generic "Open 24 hours" statement. That creates a customer-facing accuracy problem and can misrepresent the business.
Understand OpeningHoursSpecification
The openingHoursSpecification property uses the OpeningHoursSpecification type. Important fields include:
dayOfWeek: the weekday to which the schedule applies;opens: the opening time;closes: the closing time;validFromandvalidThrough: the date range for a seasonal schedule.
Google accepts full Schema.org weekday URLs and short weekday names in its documented examples. Times should use a 24-hour format such as 18:00 or 03:00.
Example 1: a restaurant open after midnight
A restaurant that opens on Saturday at 6 p.m. and closes Sunday at 3 a.m. can represent the overnight period as one OpeningHoursSpecification for Saturday, with opens set to 18:00 and closes set to 03:00.
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Saturday",
"opens": "18:00",
"closes": "03:00"
}
The key detail is that the schedule is associated with the day it begins. Do not split it into an invented Sunday opening period unless the business actually opens again on Sunday.
Example 2: a regular closed day
Google's documentation shows that a day closed all day can be represented with both opens and closes set to 00:00. Use this only when the business is genuinely closed for the full day. Do not use the same values as a shortcut for an unknown schedule.
Example 3: seasonal closure
A business that closes for a defined seasonal period can use validFrom and validThrough. Google documents these fields for a seasonal business closure.
For example, a hill-station property that closes for maintenance during a known date range should ensure that the visible website also communicates the closure. If the property remains open but changes hours, publish the changed hours rather than marking it closed.
Step 1: create an approved hours matrix
Before generating JSON-LD, ask the branch manager to confirm:
- normal opening and closing times for each weekday;
- overnight operations;
- full-day closures;
- seasonal hours;
- departments with separate hours;
- exceptional holiday changes.
Store the matrix in a format that staff can understand. Schema should be generated from an approved source, not manually typed from memory each time.
Step 2: keep markup and visible content aligned
Structured data must describe the page's actual subject. Put the business hours on the relevant location page in visible text. If a chain has several branches, each branch page should represent its own location and hours.
A corporate page with one set of hours should not use identical markup for every branch when schedules differ. Similarly, a call centre's hours should not be presented as the shop's physical opening hours unless that is genuinely the same service window.
Step 3: validate syntax and meaning
Check the JSON-LD for valid JSON, correct property names, valid weekday values and time formats. Then use Google's Rich Results Test where applicable and inspect the page after deployment.
A validator can identify syntax or eligibility issues; it cannot confirm that the submitted hours are factually correct. Human review remains necessary. Compare the markup against the approved hours matrix and the visible page.
Step 4: maintain seasonal updates as a controlled change
Assign an owner to update the website before a seasonal schedule begins and restore normal hours after it ends. Record the start and end dates, the affected locations and the approval source. Remove expired seasonal markup when the period is over.
For exceptional public holidays, do not assume a seasonal rule automatically covers every special date. Keep the public-facing hours current and use the appropriate Business Profile controls for profile hours as a separate operational task.
Common implementation mistakes
Using midnight values to mean "unknown". Closed-day markup has a defined meaning. Do not use it as a placeholder.
Attaching an overnight closing time to the wrong weekday. The schedule should be assigned to the day it begins, following Google's documented example.
Marking a business open 24 hours because its phone line is always available. Phone support and physical premises hours are different facts.
Publishing one schedule across every branch. Verify location-level differences.
Leaving expired seasonal hours in place. Old dates can make current structured data misleading.
Frequently asked questions
Can LocalBusiness structured data represent a business that closes after midnight?
Yes. Google's example uses one OpeningHoursSpecification with a closing time earlier than the opening time, associated with the day the business opens.
How do I mark a full-day closure?
Google's documented example sets both opens and closes to 00:00 for the closed day.
Can I mark seasonal hours?
Yes. Google's documentation describes validFrom and validThrough for seasonal hours.
Does adding opening-hours schema improve local rankings?
Google does not promise a ranking boost from this markup. Its purpose is to provide structured information that can help Google understand the page.
Should every branch have its own hours markup?
If branch hours differ, the relevant location page should represent the correct branch schedule rather than copying one generic timetable.
Is schema validation enough?
No. Validation checks technical structure, not whether the hours are true. Compare markup with visible content and an approved operating schedule.
Conclusion
Accurate hours require both a reliable business process and correct structured data. Build an approved weekly matrix, model overnight and seasonal periods deliberately, and keep every location page aligned with real operating conditions. The strongest implementation is the one customers can trust.
Official references
- Google Search Central: Local Business structured data — https://developers.google.com/search/docs/appearance/structured-data/local-business
- Schema.org: OpeningHoursSpecification — https://schema.org/OpeningHoursSpecification