rajuchacha007 Posted July 24, 2010 Share Posted July 24, 2010 Hello Experts,I am designing a report to display some data details. While displaying those details, I need to display time difference between two data processing. There fore, in my query I am writing following to get time difference.select data.START_DATETIME, data.END_DATETIME,TIME_FORMAT(TIMEDIFF(data.end_datetime, data.start_datetime),'%H:%i:%S') as execute_timefromFROM data My concern is to display miliseconds. I am not able to display milliseconds. Is it possible to display milliseconds using only query or should I need to write java expression in ireport? If yes, Under expression tab from text field properties, I couldn't find Date() function as such? What should I have to do in order to get time difference in milliseconds as well? Please guide/suggest/advise. Thanks in advance.Post Edited by rajuchacha007 at 07/24/2010 09:12 Link to comment Share on other sites More sharing options...
rajuchacha007 Posted July 24, 2010 Author Share Posted July 24, 2010 Ok. I did like '%H:%i:%S:%ms'. It shows milliseconds digits although it is not legal syntax of the query but it is working for the time being. Not sure this ms stands for milli or micro seconds.ThanksPost Edited by rajuchacha007 at 07/24/2010 10:46 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