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     [CLOSED] Regarding Time format

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Regarding Time format
 Login/Join
 
Master
posted
Hai all..

I have been working on time field and partially successully..

I have a field in HYYMDS format and I extracted date using HDATE. I am working on how to extract time from this.
Can anyone help me on this?

I have one more time field in I11 format. how can I show this in 05:15:40 format?
I have seen reverse of this but not the above.
Please suggest me something..

Thanks..

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


8.1.05
HTML,PDF,EXL2K, Active, All
 
Posts: 484 | Registered: February 03, 2009Report This Post
Guru
posted Hide Post
I guess that I would try HPART to extract the hour, minute, and second components.

Click on 'Search the Technical Documenation Library' in the upper right of this screen for the syntax.


jimster06
DevStu WF 7.6.11
W7
HTML, PDF, EXL2K
 
Posts: 252 | Location: USA | Registered: April 15, 2003Report This Post
Virtuoso
posted Hide Post
For the HYYMDS field, Jim is right - use HPART.
For the I11 field, it all depends on how the time is stored in that field.
It may be possible to convert it to a real date/time field, after which you could use the HPART again.
It may also be possible that the time in this field is already in there as required, only without the :. Then it would be enough to convert to alpha and add the : at the correct places.
Can't tell which direction to go without more info.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report 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     [CLOSED] Regarding Time format

Copyright © 1996-2020 Information Builders