[CLOSED] How to Print Day like sunday, monday..etc from any user enterd date.
Hi Sir, I want to find out day name of current date.
Thanks, JeetendraThis message has been edited. Last edited by: <Kathryn Henning>,
WebFOCUS 7.6 Windows, All Outputs
July 11, 2014, 05:18 AM
MichaelBalle
See function DOWKL
WebFOCUS 7.6, 7.7 Windows, All Output formats
July 11, 2014, 05:30 AM
JeetendraG
Thanks sir, Now my code is find out day name.
WebFOCUS 7.6 Windows, All Outputs
July 11, 2014, 05:38 AM
jvb
Hi, following could be one approach to resolve your query.Try searching the help file and over the forum you can get many other approaches for the same.
DEFINE FILE CAR TDT/YYMD=&YYMD; TDT2/I8YYMD=TDT; END TABLE FILE CAR PRINT CAR AND COUNTRY AND COMPUTE DATED/A4 = DOWK(TDT2, DATED); END
WF 8.1.04,Infoassist,Oracle, Excel, PDF,HTML.
July 13, 2014, 05:31 PM
Waz
JeetendraG,
I would strongly suggest that you read the Functions manual.
All the information you need is in there.
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
July 14, 2014, 06:45 AM
Alan B
Another case for Vivian Perlmutter's book on dates.
The day of the week can be displayed without functions.
DEFINE FILE fn
TODAYS_DATE/YYMD = &YYMD;
TODAYS_DAY_NAME/wr = TODAYS_DATE;
END