Jump to content
Changes to the Jaspersoft community edition download ×

Datetime formatting


vk01

Recommended Posts

Hi,

 

The report displays as "2007-10-01" which i need it to show as "10/01/2007" - currently this is a variable with the following syntax - it was showing the time as well which was not required. It is set up as variable with datatype string: original date is -

"2007-10-01 00:00:00"

--

$P{END_DATE}.substring(0, $P{END_DATE}.indexOf(" "))

--

 

thanks.

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 weeks later...

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