alauddinctgbd Posted October 19, 2006 Share Posted October 19, 2006 Hi, I am using oracle 10g database server.I want to truncated the date from Timestamp. When i use TRUNC(I.DUE_DT) function or TO_DATE(TO_CHAR(I.DUE_DT,'DD-MON-YY') , 'DD-MON-YY') DUE_DT it is showing only date without time from timestamp. But in iReport it is always showing Data & Time. Alauddin Link to comment Share on other sites More sharing options...
lucianc Posted October 19, 2006 Share Posted October 19, 2006 Set the text field pattern to the date format you want as output, e.g. "dd-MMM-yy". You can find a pattern reference here. HTH,Lucian 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