Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Zeitstempel

More
3 years 1 month ago #230664 by Fluffelpuffel03
Zeitstempel was created by Fluffelpuffel03
Please help us help you and fill where relevant:
Your LimeSurvey version:  5.3.24+220711
Own server or LimeSurvey hosting:  LimeSurvey Community Edition
Survey theme/template:
==================
Hello all.
Is there a validation equation that allows a question to be displayed only between 5pm and 8am?
Kind regards

Please Log in to join the conversation.

More
3 years 1 month ago - 3 years 1 month ago #230670 by Joffm
Replied by Joffm on topic Zeitstempel
Hi,
you obviously are looking for a condition not a validation, aren't you?

Well a quick idea:
strtotime(date("H:i")) > mktime(17,0,0) OR strtotime(date("H:i")) < mktime(8,0,0)

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 1 month ago by Joffm.
The following user(s) said Thank You: Fluffelpuffel03

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose