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.
Is there any way in WebFOCUS to operate on timestamps? For example, I would like to take 08:30:30 + 00:15:15, or 08:30:30 - 00:15:15, and other calculations.
Currently, I pull data in from our database in decimal format. So 08:30:00 becomes 8.500, and 08:45:00 becomes 8.750, and 08:45:15 becomes 8.754. Then I can perform the calculations I need to, and use a messy EDIT to convert back to timestamps for display purposes.
I think that's the point Francis, one either uses decimal notation to ease the calculations or uses the WF built in functions to perfrom the calculations. Down to a comfort factor I think.
I am sure that we would be inclined to use the internal functions, but for someone new to WF this may be a step too far?
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Tony A, thanks for the post on how to do custom functions, that has proven to be extremely useful.
Francis, I understand your concept, but I would have to have some of the values in TIME format, and then some in just seconds to perform the calculations like that. Also, I am usually adding up multiple values and doing division, so that solution would not be elegant.