Thursday, 17 April 2014

Change Date format d/m/yyyy in Birt Reporting Tool

I am working now in some reporting tasks , and found that Birt one of the most popular  open source Reporting tool with full integration with Java,

But I found a little problem in solving a small issues , like Changing the view Date

below are some basic steps will help you to change the view simply .



I will start from my state and how to change it

I was binding a date field from the DB to table view (Just drag and drop the field from the data set to table)
and the date was viewed : Apr , 16 2014 12:00:00 am
and I wanted to change it to 16/4/2014 simply like what is written in the DB, and googled a lot and didn't find the answer

below is simple steps to find out a lot of formats :
Steps:


  1. right click on the Date binding cell
  2. choose properties
  3. choose Format Date Time 
  4. in Format As , choose the drop down and you can create your own custom from Custom choice 
  5. write below in format code box and you will see the preview 
  6. then Ctrl+S  . 
Data Bind Properties


Best Regards,






No comments:

Post a Comment