srinivasan.pg86 Posted May 11, 2016 Share Posted May 11, 2016 Hi,Could you please help me to convert text field $F{Date} to Date format.Basically, I need jrxml sample source or step by step instructions to convert string into date.I'm not able to modify my code using already existing answers and end up always with error.Could you please send the jrxml source to srinivasan.pg86@gmail.com Thanks & Regards,Srinivasan Ganesan Link to comment Share on other sites More sharing options...
hozawa Posted May 11, 2016 Share Posted May 11, 2016 JasperReports just uses Java as a default language. Just google to find how to convert String to Date in Java and put the expression in Text Field's Expression. If you don't know Java, you'll probably be better off going through some tutorial. Link to comment Share on other sites More sharing options...
plambert_1 Posted May 12, 2016 Share Posted May 12, 2016 As well if SQL you can convert from the query + you have the choice with Java current casting methodology or using the JasperReports built-in functions for Date & Time in the expression Editor. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now