Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Oracle Date Display
 Login/Join
 
Platinum Member
posted
Is there a format/display option that I am missing to display a date in the Oracle format of dd-MON-yyyy? So 01/01/2008 or 01012008, or 20080101 (smart dates) would be displayed on a report as 01-JAN-2008. Or do I have to parse it out and put it back together?
Thanks,


Reporting Server 7.6.10
Dev. Studio 7.6.8
Windows NT
Excel, HTML, PDF
 
Posts: 204 | Registered: March 31, 2008Report This Post
Expert
posted Hide Post
Rick,

Oracle Date Functions are found on the Internet!!!

  
select to_char(date_column, ‘DD-MON-YYYY') as whatever, etc...

Tom


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Platinum Member
posted Hide Post
Thanks. I did know that it could be done in SQL. I was hoping for a WebFOCUS display format.


Reporting Server 7.6.10
Dev. Studio 7.6.8
Windows NT
Excel, HTML, PDF
 
Posts: 204 | Registered: March 31, 2008Report This Post
Expert
posted Hide Post
Rick,

OK, Sorry about that, thought it was an Oracle/SQL question:

  
DEFINE FILE CAR
NEW_DATE1/A17 = CHGDAT('YYMD', 'DMYYX', '&YYMD', 'A17');
NEW_DATE2/A11 = CTRAN(17,NEW_DATE1,32,45,NEW_DATE2);
END

TABLE FILE CAR
PRINT CAR MODEL NEW_DATE1 NEW_DATE2
 BY COUNTRY
END


I'm sure other ideas/suggestions will come along...

Hope this example helps...

Tom

This message has been edited. Last edited by: Tom Flynn,


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Virtuoso
posted Hide Post
Try using DATETRAN with the -T output option. You will need to convert to a DMYY first with HDATE I think.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Platinum Member
posted Hide Post
That worked. You learn something every day. Thanks


Reporting Server 7.6.10
Dev. Studio 7.6.8
Windows NT
Excel, HTML, PDF
 
Posts: 204 | Registered: March 31, 2008Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders