Login | Sign up | Toll-Free: 1-800-752-0455



5 posts by 2 authors in: Forums > CMS Builder
Last Post: April 11, 2017


My client wants to post the openinghours for each day of the week on his homepage, like:

(On Mondays:) "Sorry we are closed today"
(On Tuesdays:) "Today we are open from 08.00 - 17.00"

Is there a way in PHP to determine what day (sunday, monday, tuesday, ...) it is and to post the correct line for that day pls ??

Thx in advance !


Will you also need to accommodate schedule exceptions? Holidays, unexpected closures?


No, I'm thinking of something that will override the standard message when they enter some text manually for that day...

Thx, tried it and works very well !!