Possible to prompt for date/time selector?

New to script blocks. I’m wondering if it is possible to present a date/time selector when the script runs? I’m using a Button to call a webhook script, and would like to prompt the user for a time.

Currently I have a time selection field next to the button, but would prefer a nice popup on execution. :smiley:

1 Like

I don’t think it’s possible, but if it were, i would have a lot of use cases for it in my scripts!

Currently, scripting block does not have a way to directly input a date/time. You can input a date/time string and then parse it. I recommend including the expected format of the date/time string in your prompt and including error checking in case the user inputs an invalid string.

1 Like