Jump to content

Format field Date

Recommended Posts

By: Davide Braghieri - sbrega

Format field Date

2003-07-08 23:37

It's possible format a Data SQL field? Example dd/mm/yyyy ?

I not like the standard format yyyy-mm-dd hh-nn...






By: Teodor Danciu - teodord

RE: Format field Date

2003-07-09 00:49




Use the "pattern" attribute of the <textField> element.


You can see this use in the "jasper" sample.


I hope this helps.







By: Brenton Worley - brenton_worley

RE: Format field Date

2003-07-14 17:04

Is there a list somewhere of valid patterns for dates and numbers. I have tried several format strings that are acceptable to a SimpleDateFormatter, but don't seem to work when formating dates in JasperReports

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...