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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [Solved] Date Conversion

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Solved] Date Conversion
 Login/Join
 
Platinum Member
posted
Hello,
i know for you guys this is quiet easy. But it,s friday and i have a plank in front of my head. (German proverb) I want to convert the
Date 01/01/2011 in 01.01.2011 Format DMYY.

greetings and nice weekend

Christian

This message has been edited. Last edited by: ChristianP,


WF Production Version: 7.7.02M
WF Test Version: 7.7.02M
Developer Studio: 7.7.02
HTML, EXL2K, FLEX, PDF,PPT
 
Posts: 156 | Location: Essen Germany | Registered: December 02, 2010Report This Post
<FreSte>
posted
How about this ?

DEFINE FILE CAR
  D1/DMYY WITH COUNTRY = 01012011;
  D2/D.M.YY = D1;
  D3/D-M-YY = D1;
END

TABLE FILE CAR
BY COUNTRY
BY D1
BY D2
BY D3
END

This message has been edited. Last edited by: <FreSte>,
 
Report This Post
Expert
posted Hide Post
D2/D.M.YY = D1;
Very interesting!


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
I solved it my self!!!

DATE1_DMYY/A8DMYY=HDATE(TABLE.TABLE.DATE, 'DMYY');
DATE2_DMYY/A10=EDIT(DATE1_DMYY,'99')|'.'|EDIT(DATE1_DMYY,'$$99')|'.'|EDIT(DATE1_DMYY,'$$$$9999');


WF Production Version: 7.7.02M
WF Test Version: 7.7.02M
Developer Studio: 7.7.02
HTML, EXL2K, FLEX, PDF,PPT
 
Posts: 156 | Location: Essen Germany | Registered: December 02, 2010Report This Post
Guru
posted Hide Post
WOW, works for any date format! Smiler
quote:
D4/M-D-YY = D1;
D5/M-YY = D1;
D6/M=D1;


Francis, does this documented anywhere?


Developer Studio 7.6.11
AS400 - V5R4
HTML,PDF,XLS
 
Posts: 305 | Location: Winnipeg,MB | Registered: May 12, 2008Report This Post
Expert
posted Hide Post
I've never seen this anywhere!


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
<FreSte>
posted
It is documented, see here and search for
Controlling the Date Separator


... but it's a kind of "hidden"

-Fred-
 
Report This Post
Expert
posted Hide Post
Thanks for the Doc link.

I really like "Y|M|D" to eliminate the separation character!


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [Solved] Date Conversion

Copyright © 1996-2020 Information Builders