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  iWay Software Product Forum on Focal Point    Change Data Format from YYMD to DADMY

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Change Data Format from YYMD to DADMY
 Login/Join
 
Member
posted
I am extracting data from a table where the date format is YYMD, I would like to set the format in the target table to DADMY and am having trouble setting this to work in the console.

I have tried different expressions within the Column Selection but this has not worked. I think it maybe a syntactical error?

Does anyone have any ideas?

Thanks for any help anyone can provide.

Hiten

Data Management Console V7.6.1 working with msSQL2005 database.


Prod: WF 7.6.1 platform Windows, databases: msSQL2000, msSQL2005, IE6
 
Posts: 12 | Registered: June 01, 2007Report This Post
Virtuoso
posted Hide Post
quote:
to DADMY

Not familiar with that format; what is it?


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Member
posted Hide Post
Hi sorry that is a function.
I would like to change the date from YYMD to DMYY.

Thanks


Prod: WF 7.6.1 platform Windows, databases: msSQL2000, msSQL2005, IE6
 
Posts: 12 | Registered: June 01, 2007Report This Post
Virtuoso
posted Hide Post
Hiten

Why do want to change the date to DMYY?
A YYMD format is much easier to handle and whenever you need an other format in a report you can convert it.

But if you insist there are several formulas depending on the actual format you have.
Is it a smart date, a string or an number.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Member
posted Hide Post
We are trying to return the max date record, and are getting the incorrect record being returned. Therefore we were wanting to see if it would make a difference if the date format was changed.


Prod: WF 7.6.1 platform Windows, databases: msSQL2000, msSQL2005, IE6
 
Posts: 12 | Registered: June 01, 2007Report This Post
Virtuoso
posted Hide Post
In webfocus you can say

TABLE FILE whatever
PRINT MAX DATE
END

If the DATE is a real date field in the database you will get the proper value.
If it is just a number or string looking as a date, it will be important what format it has.
Suppose DMYY: 13112007 and 14092006, the max value of these two "numbers" is 14092006 but that is not the max date.
suppose YYMD: 20071213 and 20060914 will give the correct number.

I'm not sure if the max date is working in ETL. If not you can run the fex and put the output in an amper value that can be used.

"where DATE = &MAXDATE"




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Change Data Format from YYMD to DADMY

Copyright © 1996-2020 Information Builders