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] Converting A26 field to Date-Time field (HYYMDs)

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Converting A26 field to Date-Time field (HYYMDs)
 Login/Join
 
Member
posted
This table has a A26 field that I need to convert to Date-Time field.

I will use the Date-Time field to group transactions processed within a certain time window during a giving day.

Lets say I want to group all the transactions that were processed on 2017/03/07 between:
- Group A: 8:00:00 to 08:59:59
- Group B: 9:00:00 to 09:59:59
and so on.

The A26, provides the following information:
2017-03-07-02.26.30.187908
2017-03-07-13.34.40.779502
2017-03-07-05.39.56.017517

The date-time field should show this data as follow:
2017-03-07 02:26:30
2017-03-07 13:34:40
2017-03-07 05:39:56

Thank you for your help

This message has been edited. Last edited by: FP Mod Chuck,


WebFocus 7703
Windows, All Outputs
 
Posts: 11 | Registered: November 09, 2012Report This Post
Member
posted Hide Post
Should be able to accomplish this by using the HIPNUT and EDIT functions.

HINPUT
EDIT


App Studio 8105; Win 7 x64; HTML, Excel
 
Posts: 8 | Registered: December 14, 2016Report This Post
Platinum Member
posted Hide Post
Hi,

try below code,

SET DEFCENT=19, YRTHRESH=20
SET DTSTANDARD = ON
DEFINE FILE CAR
D_DATE/HYYMDS = DT(2017-03-07-02.26.30.187908);
END
TABLE FILE CAR
PRINT D_DATE
BY COUNTRY
END

Thanks


WebFocus 8104,8204
Excel/PDF/HTML/HTMLTABLE/XML/ALPHA/GIF file/GRAPH/Active technologies
 
Posts: 186 | Location: INDIA | Registered: July 11, 2013Report 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] Converting A26 field to Date-Time field (HYYMDs)

Copyright © 1996-2020 Information Builders