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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Excel is NOT Recognizing a DATE_TIME field from WebFOCUS

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Excel is NOT Recognizing a DATE_TIME field from WebFOCUS
 Login/Join
 
Member
posted
We have a report which contains some DATE_TIME values (timestamps), however, Excel does not recognize these as DATE fields. We go into FORMAT CELL in Excel, to change the format, but nothing happens. This is a challenge for us. Any ideas would be greatly appreicated. We need to keep the values in 1 Column, so we can't split the TIME into a separate column.


Developer Studio 7.6.11
Reporting Server = Unix 7.6.8
Client = Unix
 
Posts: 29 | Location: Houston | Registered: June 19, 2012Report This Post
Virtuoso
posted Hide Post
What is the format? Change it before it gets to Excel in a define.

Probably something like this, depending on it's format.

XDATE/MDYY = HDATE(BUSINESS_DATE, 'MDYY');
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Platinum Member
posted Hide Post
Hi Leo,
Which Excel output format are you specifying?
e.g. EXCEL, EXL2K, EXL07 etc.
That may have an effect.
Are you really still on WebFOCUS 7.6? A lot has been enhanced in terms of Excel output formats since then.
e.g.
Most translated and smart dates can be sent to Excel 2007/2010 as standard date values with format masks, enabling Excel to use them in functions, formulas, and sort sequences.
So - if your date format is something like YYMD, the above should apply.

Not sure though what 7.6 did!


WebFOCUS 8.2.06 mostly Windows Server
 
Posts: 195 | Location: Johannesburg, South Africa | Registered: September 13, 2008Report This Post
Master
posted Hide Post
Leo, Starting in 7.7 there is a SET command EXL2KTXTDATE

The EXL2KTXTDATE parameter allows you to specify that translated dates should be sent as date values with format masks instead of text values.

The syntax is:

SET EXL2KTXTDATE = {TEXT|VALUE}
where:

TEXT
Passes date values that contain text to Excel 2000 as formatted text. TEXT is the default value.

VALUE
Passes the types of translated date values that contain text and are supported Excel date formats to Excel 2000 as standard date values with text format masks applied.

It doesn't do you or me much good since we are still on 7.6.11 (hoping to be on 8 before the end of the year)


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
Silver Member
posted Hide Post
EXL2KTXTDATE only works for dates, not datetimes.


Prod/Dev: WebFOCUS 8.0.06 on Windows Server 2008/Tomcat , WebFOCUS DevStudio 8.0.06 on Windows 7
 
Posts: 31 | Registered: April 22, 2013Report This Post
Master
posted Hide Post
Then what is the purpose of EXL2KTXTDATE because right now on 7.6.11, without it, smart dates are interpreted as dates in EXCEL 2010 and 2003. I can send date that display as 08/24/2013 and, in Excel, change the format to mmm-yyyy and the display changes to Aug-2013. Seems to me that Excel is seeing the field as a date and not text.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report 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     Excel is NOT Recognizing a DATE_TIME field from WebFOCUS

Copyright © 1996-2020 Information Builders