mohammed.sardar Posted September 22, 2014 Share Posted September 22, 2014 I get the date format as '2-SEP-14' when I execute my funciton in Oracle. But when it returned to Jasper it automatically appends TIME STAMP to it.! I try the below in Edie Expression fields but getting an error but not the report. How should I change the format in Jasper 4.0.2 new SimpleDateFormat("DD/MMM/YY").format($F{RECEIPT_DATE}) - Is it right ? Many thanksMohammed Link to comment Share on other sites More sharing options...
rajesh.sirsikar Posted September 22, 2014 Share Posted September 22, 2014 Hi,Its pretty simple. Use the below expressionDATEFORMAT($F{ORDERDATE},"dd-MMM-yy") (Change teh date field to your field)and see teh magic :-)RegardsRajesh Sirsikarwww.rajeshsirsika.com (for most of your jasper questions) Link to comment Share on other sites More sharing options...
rajesh.sirsikar Posted September 22, 2014 Share Posted September 22, 2014 Ill come up with a blog on this soon...:) Link to comment Share on other sites More sharing options...
mohammed.sardar Posted September 22, 2014 Author Share Posted September 22, 2014 Hi Rajesh, Thanks very much for your reply. I used pattern property before getting your answer though it helps me too and others as I hope. Your website w3.rajeshsirsika.com does not seem to work for me. I'm interested to approach the site for some of my jasper doubts. Thanks Mohammed Link to comment Share on other sites More sharing options...
rajesh.sirsikar Posted September 22, 2014 Share Posted September 22, 2014 Hi there was a typo...it is www.rajeshsirsikar.com Link to comment Share on other sites More sharing options...
mohammed.sardar Posted January 20, 2015 Author Share Posted January 20, 2015 could you please let me know a best jasper e-book or book if you wish? Currently I'm referring Packtpub.iReport.3.7.Apr.2010. Ofcourse I will also refer the Net. As you have come across many jasper concepts I'm asking you. If you like pls suggest. Thanks 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