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     [TECHNIQUE] More Musings on Dates

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[TECHNIQUE] More Musings on Dates
 Login/Join
 
Expert
posted
More Musings on Dates
By Noreen Redden

It always seems as if, at least from a support perspective, there are forces out there that send out mind messages: “Try working with dates today” or “look to add borders.” Lately, we’ve been dealing with a number of date issues, such as how do I deal with dates in Dialogue Manager?

So we’ll get into that in this article, and as a reminder, we’ll look at some functions that might make life a little easier.

First, the ongoing issue of “smart dates” or date-times in Dialogue Manager keeps coming up. Remember that to Dialogue Manager, it is all black and white. There are alpha fields, and there are numeric fields. There is no pesky format to get in our way. If there are only numbers, the format is numeric (and integer to boot), and if there is something other than numbers, it is alpha.

So, all of the subroutines that subtract dates, and are written to work with formats of MDYY, expect an integer that represents the number of days from Dec. 31, 1900, and so will not work if we send over an integer of 09282011, a i8MDYY field. First the date must be converted to the “smart date,” and then we can call the other subroutines. But, beware, the return from a subroutine is also a displacement from base date, so for a human being to read it correctly, it must be translated back to the displayable format.

Click here to read more, as well as other articles in this issue. If you have not done so, subscribe today to receive the WebFOCUS Newsletter in email.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report 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     [TECHNIQUE] More Musings on Dates

Copyright © 1996-2020 Information Builders