#Javascript #Date #Time #Repeater
Shows how to display if a business is currently “open for business”. Gets the user’s current date and time, checks if the business is currently open according to the configured business hours, and displays the current status. Also displays the business hours and highlights the current day’s hours.
This example has lots of Javascript date and time manipulation. The routine is generalized so that it can be used for multiple businesses on the same web site.
Go to the Open for Business Example page.
See more examples at Gramp’s Workbench .