Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Convert a string parameter into a date
a3e
hello,
I'm new to BIRT and currently working on a report. Whilst I'm satisfied with the content of the report, I couldn't get the title of the report to display what i want.
Basically, my report has a date parameter (RP_StartDate) and its type is a string. Whilst the conversion into a date format is built into the query, I having trouble to convert this into a date format within the title.
I'd like my report to display: "Report Period: April 2009" given that my RP_StarDate is 01/04/2009.
At the moment, all i can display is "Report period: 4/2009" using:
"Report period: " + params["RP_StartDate"].substr(4.7)
within the experssion builder
Any one can assist?
Thanks,
Albert
Find more posts tagged with
Comments
cypherdj
Here's my previous answer to this query:<br />
<br />
<a class='bbc_url' href='
http://www.birt-exchange.com/forum/designing-birt-reports/11671-date-format-issue.html'>http://www.birt-exchange.com/forum/designing-birt-reports/11671-date-format-issue.html</a><br
/>
<br />
Hope that helps,<br />
Cedric