Focal Point
[SOLVED] How to change field format from MDYYX to YYMD?

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8617017496

October 29, 2020, 09:46 AM
Gints
[SOLVED] How to change field format from MDYYX to YYMD?
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
October 29, 2020, 03:01 PM
dbeagan
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
October 30, 2020, 02:49 AM
Gints
Thanks it works as needed!


WebFOCUS 8
Windows, All Outputs