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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] How to change field format from MDYYX to YYMD?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] How to change field format from MDYYX to YYMD?
 Login/Join
 
Member
posted
How to change field format from MDYYX to YYMD? There are ways how to do it in other way, but I have not found the way how to do it in this way. Can somebody help?

This message has been edited. Last edited by: Gints,


WebFOCUS 8
Windows, All Outputs
 
Posts: 7 | Registered: October 17, 2016Report This Post
Platinum Member
posted Hide Post
Do you mean this?

-SET &Date1 = 'October 26, 2020';
-SET &Date2 = DATECVT(DTADD('&Date1', DAY, 0), 'MDYY', 'A8YYMD');
-TYPE &Date1 --> &Date2


WebFOCUS 8.2.06
 
Posts: 210 | Location: Sterling Heights, Michigan | Registered: October 19, 2010Report This Post
Member
posted Hide Post
Thanks it works as needed!


WebFOCUS 8
Windows, All Outputs
 
Posts: 7 | Registered: October 17, 2016Report 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] How to change field format from MDYYX to YYMD?

Copyright © 1996-2020 Information Builders