It's all about the answers!

Ask a question

Formatting dates in tabular fields (birt reporting)


Morten Mikkelsen (136156) | asked Jun 02 '10, 4:26 a.m.
Hi,
When I just add the field RESOLUTION_DATE from the work item snapshop, the date is not formatted as I would like it to be.

Is there a built-in way to specify the date format presented?
If not, I would like to use one of the javascript date formatting methods available (e.g. http://blog.stevenlevithan.com/archives/date-time-format), but I am quite unsure where to put the function definitions - I tried in the onPrepare section on the script tab in the report designer, but that didn't work out well (complains about the method not being defined).

What to do?
/Morten

One answer



permanent link
Morten Mikkelsen (136156) | answered Jun 18 '10, 6:30 a.m.
Solved...
Found
http://www.eclipse.org/birt/phoenix/tutorial/basic/basic12.php
that shows that there is a formatting property on the date-time fields - so no extra javascript is necessary at all to format...
/Morten

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.