title: Oracle OBIEE Analytics 12c date validation
body: <p>In <strong>OBIEE12c</strong>, I have multiple reports wherein the user input is 2 dates i.e From Date and To Date.</p>
  <p>For all these reports, the requirement is on click of <strong>'Apply'</strong> button, a common js should get called where in</p>
  <ol>
  <li>I have to retrieve the report name that is invoked so that only for those reports these date validates can be applied.</li>
  <li>I have to retrieve the From date selected by the user</li>
  <li>I have to retrieve the To date selected by the user</li>
  <li>Have to add the validation which compares the From Date &lt; To Date and find out the difference between dates and provide an alert to the user informing him that the date difference is more than 90 days</li>
  </ol>
  <p>My ultimate requirement explained in single line would be <code>show an alert (after date comparison) to the user for couple of reports on click of Apply in OBIEE 12c</code></p>
  <p><strong>If there is any other way to achieve it please highlight!</strong></p>
  <p>We had achieved the above requirement in OBIEE10g, but the same is not working post migration/upgrade to 12c ( 10g to 11g and 11g to 12c Two Step Process</p>