Jump to content
Changes to the Jaspersoft community edition download ×

DB2 Timestamp formatting

2004 IR Help

Recommended Posts

By: sg_coder - sg_coder

DB2 Timestamp formatting

2005-09-13 02:21



How do I format a DB2 timestamp field to the following format YYYY/MM/DD HH:MM:SS in JasperReports ?













By: Matihost - matihost

RE: DB2 Timestamp formatting

2005-09-13 07:45

Set attribute pattern="yyyy/MM/dd hh:MM:ss" on textfield or use SimpleDateFormat object in textfield expression.



I hope this helps


Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...