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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Dates and Excel
 Login/Join
 
Member
posted
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
 
Posts: 26 | Registered: October 30, 2006Report This Post
Virtuoso
posted Hide Post
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
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Expert
posted Hide Post
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 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Virtuoso
posted Hide Post
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

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders