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     Date Conversion: Jun 19 2006 to 06/19/2006

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Date Conversion: Jun 19 2006 to 06/19/2006
 Login/Join
 
Gold member
posted
Hi,

I was having some problems converting values of Dates.

I have a field that contains dates in the format of LEFT(DATETIME, 11) of SQL which basically gives you the date in the format "Jun 19 2006", However I need to convert it to '06/19/2006', and I don't recall any format for the DateCVT function that can do this. Does anyone know of a solution to this?
 
Posts: 68 | Registered: March 15, 2006Report This Post
Platinum Member
posted Hide Post
Hi

using the DEFINE you can convert the DateFields.

Thanks,
Kalyan


Thanks,
Kalyan.S
------------------------------------
WebFOCUS 7.1.4, Win XP SP2,
Oracle8i.
------------------------------------
 
Posts: 155 | Location: Bangalore. | Registered: January 24, 2006Report This Post
Master
posted Hide Post
Check this code,

DEFINE FILE CAR
DATE1/A20='JUN 26 2006';
DATE2/HYYMDS=HINPUT(14, DATE1, 20, 'HYYMDS');
DATE3/MDYY=HDATE(DATE2,'MDYY');
END

TABLE FILE CAR
PRINT DATE1 DATE2 DATE3
BY CAR
END
-EXIT


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Gold member
posted Hide Post
Thanks.
 
Posts: 68 | Registered: March 15, 2006Report This Post
Platinum Member
posted Hide Post
This questions is related to thie thread. How do you convert the datetime "2006/05/24 00:00:00" to "5/24/2006".

Another would be to convert "2006/10/09 00:00:00" to "10/9/2006".

I used DATE/HMDYY in my table file but it returned 05/24/2006 & 10/09/2006.

Thanks in advance.


Dev: WebFOCUS 7.6.10, Data Migrator 7.6.10
QA: WebFOCUS 7.6.10, Data Migrator 7.6.10
Prod: WebFOCUS 7.6.2, Data Migrator 7.6.8
Windows 2K3, Tomcat 5.5.17, IIS 6
Usage: HTML, PDF, Excel, Self-serve, BID and MRE
 
Posts: 197 | Location: Roseville, CA | Registered: January 24, 2005Report This Post
Member
posted Hide Post
quote:
Another would be to convert


Take a look at the following link on IBIs support site:

http://techsupport.informationbuilders.com/tech/cof/cof_tcn_062.html
 
Posts: 16 | Location: New York | 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     Date Conversion: Jun 19 2006 to 06/19/2006

Copyright © 1996-2020 Information Builders