Date Function
My orders are available for pick up only on Fridays between 3 pm - 7 pm and Saturdays and Sundays between 9 am - 12 pm & 3 pm - 7 pm . Help me write the function for this.
Hi - Date functions are for calculating the dates (Ex: today's date, Age based on date of birth etc). If you would like to restrict users from selected specific dates, then you can add validations to the date field. Only the following the date validations are supported.
- Allow only future dates
- Allow only past dates
- Allow only future dates with lead time
- Allow between two dates
Currently we do not have the option to allow only specific days and restrict to specific time slots. If you would like to allow users to select only Fridays between 3 pm - 7 pm, Saturdays and Sundays between 9 am - 12 pm & 3 pm - 7 pm, then you can add a dropdown question with the list of valid date - time slots as answer choices. For example,
Friday 3pm- 7pm
Saturday 9am - 12pm
Saturday 3pm - 7pm
Sunday 9am - 12pm
Sunday 3pm - 7pm
Comments (2)
Mar 21, 2024
Hi - Date functions are for calculating the dates (Ex: today's date, Age based on date of birth etc). If you would like to restrict users from selected specific dates, then you can add validations to the date field. Only the following the date validations are supported. - Allow only future dates - Allow only past dates - Allow only future dates with lead time - Allow between two dates Currently we do not have the option to allow only specific days and restrict to specific time slots. If you would like to allow users to select only Fridays between 3 pm - 7 pm, Saturdays and Sundays between 9 am - 12 pm & 3 pm - 7 pm, then you can add a dropdown question with the list of valid date - time slots as answer choices. For example, Friday 3pm- 7pm Saturday 9am - 12pm Saturday 3pm - 7pm Sunday 9am - 12pm Sunday 3pm - 7pm
Mar 21, 2024
okay then
Add your comment
Add photo