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     New Calendar Feature - trouble formatting date

Read-Only Read-Only Topic
Go
Search
Notify
Tools
New Calendar Feature - trouble formatting date
 Login/Join
 
<lcoriddi>
posted
Has anyone gotten the new calendar feature to work? We are trying to pass the date in and format

CHECKDTIN/HYYMDIA = HDTTM(CHECKDATE,8,'HYYMDIA');

but this is what we get:

CHECKDTIN
1901/06/16 12:00AM
1901/06/16 12:00AM
1901/06/16 12:00AM

Can someone help with the format. It seeems to be in a smart date format but needs to be in a "FOCUS" date format according to the new features documentation.
 
Report This Post
Expert
posted Hide Post
knowing zip about the CHECKIN thing,
but the format you're looking at is called DATE-TIME format.
and the format called SMARTDATE or FOCUS DATE is an integer, actually, between 0 and 37nnn which is the number of days elapsed since the beginning of the last century. (thats how you can do arithmetic with it), and it displays under a mask such as YYMD or MtY , etc.
so go look up DATE-TIME formats, and you'll be good to go.
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Member
posted Hide Post
HDTTM is used to convert a SmartDate field to a DateTime field. The full syntax is:

field2/DTfmt= HDTTM(SDfield,length,format) ; convert SmartDate to DateTime
field2: = fieldname to receive the DateTime value
SDfield: = the input SmartDate fieldname or �literal�
length: 8 = for measurements down to milliseconds
length: 10 = for measurements down to microseconds
format: 'DTfmt' = specify the receiving DateTime format
format: fieldname = specify a fieldname having the required format

This may be found in the "WebFOCUS Keysheet" and in the "(Almost) 1001 Ways to Work with Dates in WebFOCUS" which are available from www.aviter.com.
 
Posts: 25 | Location: Fountain Valley, Calif. | Registered: October 24, 2003Report 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     New Calendar Feature - trouble formatting date

Copyright © 1996-2020 Information Builders