Focal Point
Dates and Excel

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

March 30, 2007, 04:57 PM
thebrettd
Dates and Excel
Hey guys. I have a requirement to display a date in a different format than it is stored in our table.

So I used the following command to get the format that I want in a PDF:
STRT_DTE/MDYYYY = HDATE(ARL_START_DATE, 'MDYYYY');

The problem is that the report is too wide to fit on 1 page, so I would like to spit out excel reports instead.

However when I run the same code but produce excel output, I dont get dates at all in that column, just large integers.

Whats the deal?


Dev: WF 5.2.1
Production: WF 5.2.1
Testing: WF 7.1.3
March 30, 2007, 05:04 PM
Leah
quote:
However when I run the same code but produce excel output, I dont get dates at all in that column, just large integers.

Are you doing excel or exl2k the second one keeps formatting.


Leah
March 30, 2007, 05:36 PM
Tony A
Try using the alpha type of format for your dates - A8MDYY

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
March 31, 2007, 01:25 PM
Danny-SRL
Hi,
I ran the following without any problem:
DEFINE FILE CAR
TDY/DMYY='&DATEDMYY';
N/I3 WITH COUNTRY = LAST N + 1;
CDATE/DMYY WITH COUNTRY=TDY + N;
END
TABLE FILE CAR
PRINT CDATE
BY COUNTRY
ON TABLE PCHOLD FORMAT EXL2K
END



Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF