Get Google Business Opening hours with PHP
Use your Google Business account to show your opening hours on your own site. Change your opening hours in Google Business and it will change on your site.
Google My Business is a free and easy-to-use tool for businesses and organizations to manage their online presence across Google, including Search and Maps.
To keep your business information on Google accurate and up to date, you can edit your Business Profile on Google. To help potential customers find and learn more about your business, you can change information like your address, hours, contact info, and photos.
This information of your Business in Google Business can be used by using an API. If you want to show your opening hours on your own site you will have to use such an API.
But if you know a little PHP and use my Script you can use your Google Business opening hours for your own site!
If you need to change the Opening Hours, just change them in Google Business and your site will automaticly show the new Opening Hours!
You can even show the Opening Hours in your Locales / Country own langauge.
PHP Script for showing Google Business Hours.
Language List for the PHP Google Business Hours
'zh-CN'= 'Chinese Simplified'
'zh-TW'= 'Chinese Traditional'
'ht'= 'Haitian Creole'
'sk'= 'Slovak '
'te'= 'Telugu '
Changing your Google Business opening hours
To change your opening hours, sign in to Business Profile on Google, choose 'Info' from the menu and select 'Hours'. Use the drop-down arrows to set the 'Opens at' and 'Closes at' times for each day. To put a break in your opening hours, if you close for lunch, for example, you can create two entries for the same day.