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     Month Translate in Date Needed as dd-jan-yyyy

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Month Translate in Date Needed as dd-jan-yyyy
 Login/Join
 
Member
posted
Here is an example...
HIRE_DATE DATE6 DATE5
1966/09/12 SEP 12-09-1966

Logic:
DATE5/D-M-YY = HIRE_DATE ;
DATE6/MT = HIRE_DATE ;

Tried DATE5/D-Mtr-YY = HIRE_DATE ; fails
Want
12-SEP-1966

Thanks
 
Posts: 18 | Registered: August 25, 2006Report This Post
Virtuoso
posted Hide Post
Try using DATETRAN with the -T output option.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Virtuoso
posted Hide Post
Tom

You should buy the book "almost 1001 Ways to Work with Dates in WebFOCUS"
It will help you in many date format and calculation questions.




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
Virtuoso
posted Hide Post
Tom,

Alan has good advice. Here is the code:
  
DATE5/DMYY=HIRE_DATE;
DATE6/A11 = DATETRAN (DATE5, '(DMYY)', '(-T)', 'EN', 11, 'A11')

Just notice that the date DATE6 is an ALPHA field, so you will not be able to sort on it nor test except for equality.


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Virtuoso
posted Hide Post
Danny is right, but you still have your HIRE_DATE if you want the correct sorting.




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
Thanks for your help. That worked fine. I have the 1001 date book but couldn't find this solution.
 
Posts: 18 | Registered: August 25, 2006Report 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     Month Translate in Date Needed as dd-jan-yyyy

Copyright © 1996-2020 Information Builders