title: How to get user input in string-form on a google script
body: <p>I am making a program that requires you to ask the user for an input of a date (which I will take in through them just inputting a date through MMDDYYY form). I'm just confused on how to implement this, as my script incorporates the use of Google Calendar.</p>
  <p>In this site: <a href="https://developers.google.com/apps-script/reference/base/prompt-response" rel="nofollow noreferrer">https://developers.google.com/apps-script/reference/base/prompt-response</a></p>
  <p>They have a class called PromptResponse, which is instantiated through doing <code>DocumentApp.getUI()</code> or <code>SpreadsheetApp.getUI();</code></p>
  <p>Can I do this by doing <code>CalendarApp.getUI()</code>? Or do I need another way?</p>
  <p>And if I can do it that way, for the method getResponseText(), when I call it, does it ask the user then and there (looking at the way they used it in the link)? Thanks!</p>