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     [SOLVED] Today's date in YYDD format

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Today's date in YYDD format
 Login/Join
 
Silver Member
posted
I would like to create a define field using the TODAY function only in YYDD format: For example I would like to see the following value for this define field: 20130402

I've tried TODAY() but, I don't know which argument to use?

This message has been edited. Last edited by: <Kathryn Henning>,


7.6.8, Windows XP
Excel, PDF, Active HTML, HTML, PDF
 
Posts: 39 | Registered: May 27, 2010Report This Post
Platinum Member
posted Hide Post
You can use system & variable DATEYYMD for this.


DEFINE FILE CAR
DT/YYMD= '&DATEYYMD';
END

thanks
Sashanka


WF 7.7.03/Windows/HTML,PDF,EXL
POC/local Dev Studio 7.7.03 & 7.6.11
 
Posts: 103 | Registered: June 12, 2009Report This Post
Silver Member
posted Hide Post
Thanks for your assistance. After looking at your suggestion, I have created the following define field:

DEFINE FILE AP_CHECK
DT/YYMD=&DATEYYMD;
END

The value I'm getting is 1901/09/08. How do I get today's date without the slashes? eg. 20130402


7.6.8, Windows XP
Excel, PDF, Active HTML, HTML, PDF
 
Posts: 39 | Registered: May 27, 2010Report This Post
Expert
posted Hide Post
XDATE/A8 = '&YYMD.EVAL';


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Silver Member
posted Hide Post
SOLVED

That worked, thanks Tom.


7.6.8, Windows XP
Excel, PDF, Active HTML, HTML, PDF
 
Posts: 39 | Registered: May 27, 2010Report 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     [SOLVED] Today's date in YYDD format

Copyright © 1996-2020 Information Builders