Dynamic filename with current date in jasper reports - jasper-reports

How can I append current date to the end of filename when i export reports from JasperReports Server?
For example if filename is orders, then i need to get the filename as orders_13-06-2018.xls if i export it today and orders_12-06-2018.xls if i export it tomorrow and so on.
I have tried using scheduler in JRS but it shows only date for a particular time.
This solutions are not working:
https://community.jaspersoft.com/questions/914536/netsfjasperreportsexportxlssheetname-usable
https://community.jaspersoft.com/questions/515739/jasper-report-download-file-name

Related

Can we get current date and calculate dates in a Jinja2 template?

Context:
There is a framework that processes Jinja2 templates and creates AWS resources based on the JSON file generated from the Jinja2 templates. One field value in these templates is a date.
Problem:
I want a template which automagically calculates the future date 5 days from the current date in the following format: MMDDYYYY, preferably without passing any parameter to this template file.
I have no means to alter the processing framework, so i can only work with what template i feed in.
Questions:
Can any of these done in a Jinja2 template file?
get current date
calculate date which is 5 days later than a provided date in
MMDDYYYY format

Getting Start Date and End date of a Crystal Report

Good day guys,
I have several reports generated using Crystal report with a Date Range value and I need to get the formular for the Start date and End date of the report
Several reports has been generated using Crystal Report. I have used the Minimum() and maximum() formulars to get the Start date of the range and also the end date of it. But it is only picking the start date for the two reports.
minimum({Dttable.Order_date})
I expect the Output to be that if the date range selected is
01/07/2019-31/07/2019
Output should be start date 01/07/2019
end date 31/07/2019
I got a way Around.
I had to use it as formular and not under RunningTotal

How to pass multiple parameters through URL in tableau 10.0

I am working on tableau 10.0. And I am trying to download workbook with the help of "tabcmd" command. So for that I am passing two date parameters for date range(start date & End date).
I am trying the same by following way:
Command:
tabcmd export "Workbook/SheetName?StartDate=2013-12-2900:00:00&EndDate=2014-03-1423:59:59" --fullpdf -f "D:\Test\Report1.pdf" --no-certcheck
But it is returning workbook with default values(which I have set during publishing workbook) and not as per the values that I am trying to pass.
Same process I have achieved with tableau 9.3 with above syntax
But I am unaware of how to achieve same in Tableau 10.0. So I would like to seek your help regarding the same
Finally I got solution.
In such case if you have space in parameter name like(Start Date &End Date) then you have to use %20 in place of space that is Start%20Date & End%20Date and
Date format should be 'yyyy-mm-dd'

Format to enter a Date in Google Forms

I have a drop-down list of dates I want users of a form to select from. I have tried mm/dd//yy, mm/dd/yyyy, yyyy-mm-dd, yyyy/mm/dd and MMM-DD-YYY, but the data that ends up in the Sheet is always 12/31/1969 (25568.6666666667 if I change the display format). What format can I use to get a date successfully imported?
The answer in this thread didn't work for me: What format is required to import a date into google spreadsheet
The format mm/dd/yyyy works; I had a problem in the naming of the columns of the spreadsheet which was the source of the problem.

Change date from MM/DD/YYYY to mmddyyyy in Notepad/Notepad ++

I am a novice at coding and running scripts and was wondering the following;
Context: I run scripts in one of my companies programs to create customer service tickets.
Question: Is it possible to automatically update the date for a line of code in a script to the current day's date in MMDDYYYY format?
As of now I manually go and change the date for each script every day.
EX of (part of) script:
send "TKTE/R02252016"
Is there a way to automatically update the "02252016" to the current day's date?
I currently use Notepad/Wordpad for the scripts but can get Notepad++ if this is a possibility.
Thank you for your time and insight.
Within Notepad++, you can search by means of a regular expression.
Search for TKTE/R\d{8} and replace it with TKTE/Rmmddyyyy, where mmddyyyy is the current date.