ravikumargompa8464 Posted January 5, 2022 Share Posted January 5, 2022 my string format is like this 2021-10-06T00:00:00.000Z and i need to convert date format. Link to comment Share on other sites More sharing options...
gustavofarias Posted January 5, 2022 Share Posted January 5, 2022 Where exactly jasper reports play a part in this? Link to comment Share on other sites More sharing options...
luked Posted January 11, 2022 Share Posted January 11, 2022 You can try using new date -new Date(new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss").parse(dateField)) Link to comment Share on other sites More sharing options...
ravikumargompa8464 Posted January 13, 2022 Author Share Posted January 13, 2022 I am facing a problem in parameter passing,i passed the parameter while preview the value is not changing,default value data will be generating.while changing value it is still showing default value data in output. Link to comment Share on other sites More sharing options...
atulnamdeo7 Posted May 19, 2022 Share Posted May 19, 2022 Use it like below[CDATA[(new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss",Locale.US)).format($F{STMT_DT})]] 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