title: Passing a value to jasper ireport designer
body: <p>Since Japersoft ireport designer 5.6.0 doesn't support displaying a current date in arabic (as far as i know), i thought why not create a current arabic date in my application and pass it in my url to jasper ireport designer to display it in the report design in a parameter.
  But my solution didn't work, maybe i did something wrong, or there is an alternative solution.</p>
  
  <p>Any help on this please?</p>
  
  <pre><code>var months = ["يناير", "فبراير", "مارس", "إبريل", "مايو", "يونيو",
            "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"];
  
  var days =["اﻷحد","اﻷثنين","الثلاثاء","اﻷربعاء","الخميس","الجمعة","السبت"];
  
  var date = new Date();
  
  var monthAR = months[date.getMonth()];
  var dayAR = days[date.getDay()];
  var yearAR = date.getFullYear();
  var numberAR = date.getDate();
  var arabicdate = dayAR+" "+numberAR+" "+monthAR+" "+yearAR; 
  var arDate = arabicdate;
  </code></pre>