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.
I am looking for help with dates. Today is 1/2/2018. Last was 12/26/2017. I need to create two date variable to pass to a stored procedure (via synonym).
One assumes that I should be able to do:
SET &YEST = DATEADD('&DATEMDYY', 'D', -7); SET &CURDATE = '&DATEMDYY';
It is a direct example taken from the book. It cannot be used to actually display a date and therefore the example is useless here.
My clients need normal 2-digit months, days and 4-digit years. My goal is to learn how to create these variable, manipulate them and display them on the reports under the healing. .
What has to be done to get this working correctly.
Thanks,This message has been edited. Last edited by: FP Mod Chuck,
That worked. Thanks! Do you know of a resources where the date functions are properly spelled out. I find the Tech Docs to be largely inadequate. Is there a good forum post you know of that has good instructions for date functions?
VH, Glad it helped. You need to update your signature to the correct release, WebFOCUS 8 is not helpful.
Experience will be the best teacher, the BEST documentation is a book by John Price which discusses EVERYTHING about dates which you may want to buy a copy of:
"(almost) 1001 Ways to Work with DATES in WebFOCUS"
Also, Search on DATECVT, DATETRAN, HDATE, DATEADD, etc.
IBI does fine with most Function Reference's, go to the WebFOCUS 8 Technical docs, search on Function, Function Reference is there... Links to all different kinds of Functions are listed...
Dates in WF are probably the most frustrating aspect of the product. I can also vouch for the 1001 ways book, it is a bit expensive but worth it. I also find it most helpful to trial and error the functions you'll find available in the tool and if one seems logical but isn't working search the forum.
Sometimes it seems impossible to get what you really want, but 5 translations and conversions later you might have something.
Be sure if you're satisfied with the answers here to edit your initial post and add [Solved] to the beginning of the title.
JC WebFOCUS Dev Studio / App Studio 8.2.01 Windows 7
Thanks you guys for all of your help with this topic. I think I am going to purchase the book for the company as I am not the only one here who could benefit from it.
VH, Send a note(Private Message if you like) to Vivian Perlmutter and see if there is an automated/on-line version you can place on a shared drive for everyone in your organization to access. This would be best, I think... Tom
Originally posted by Tom Flynn: VH, Send a note(Private Message if you like) to Vivian Perlmutter and see if there is an automated/on-line version you can place on a shared drive for everyone in your organization to access. This would be best, I think... Tom
[QUOTE]Originally posted by Tom Flynn: VH, Try sending her an email at vivian@aviter.com. Here's the LINK to the website... Get a site license for updates...[/Q UOTE]
Tom,
Thanks. I have sent her an email. I will see if we can purchase the site license from her.