Jump to content
We've recently updated our Privacy Statement, available here ×

How to format Date full


mellodemelo
Go to solution Solved by szaharia,

Recommended Posts

Hi, I created a parameter as string and the person write 25/03/2017, I need that this date be transformed in 25 de março de 2017, so I did:

$F{END_CIDADE} + ", ".concat(new SimpleDateFormat("dd 'de' MMMM 'de' yyyy", new Locale ("pt", "BR")).format(new SimpleDateFormat("dd/mm/yyyy").parse($P{parameter})).toLowerCase())+"."

But the result was: 25 de janeiro de 2017

Someone can help me?

 

 

 

Link to comment
Share on other sites

  • Replies 2
  • 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...