Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Format Date Parameters
jballnik
I'm displaying a date range in the report title as a STRING and by default it prints out a very long date. This is what I currently have as the expression:
"DATE RANGE: " + params["startdate"] + " - " + params["enddate"]
Is there a way I can format the date so it prints out in the following format: mm/dd/yyyy?
thanks...John
Find more posts tagged with
Comments
Virgil Dodson
Hi John,
Use a Text control, then select HTML from the drop-down, and use an expression like below.
DATE RANGE: <VALUE-OF format="Short Date">params["startdate"].value</VALUE-OF> - <VALUE-OF format="Short Date">params["enddate"].value</VALUE-OF>
jballnik
Many thanks to you Virgil...that worked like a charm