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

By kovali - April 6, 2017

Hi,

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"
etc...

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 !

Koen

By mizrahi - April 6, 2017

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

By kovali - April 6, 2017

Hi, 

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

By kovali - April 11, 2017

Thx, tried it and works very well !!