Question: Accept caller input for a date/time condition

Status
Not open for further replies.

pmterp

Gold Partner
Joined
Jun 13, 2017
Messages
421
Reaction score
250
Is there any way to allow the caller to input digits and then use that either in the Date & Time condition or some other creative scheduling way?
I'm looking to combine this with the temp greeting CFD I made. It would be cool if we could allow the caller to schedule the start and end time.
The prompt would say something like "Please enter the date you'd like the temporary greeting to start. Please enter a 2-digit month, 2-digit day, and 4-digit year." If the caller entered 07072022 I'd need to be able to use 07/07/2022 in a Date & Time condition.
Any ideas?
 
Use the UserInput, then use a C# code to format it as a date, then parse that using new DateTime().
 
  • Like
Reactions: pmterp
Status
Not open for further replies.

Forum statistics

Threads
111,973
Messages
590,078
Members
164,896
Latest member
sameage