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     Can WebFOCUS week number be set to return ISO week

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Can WebFOCUS week number be set to return ISO week
 Login/Join
 
Master
posted
I am using HNAME to return the week number

HNAME(ARO_APP_DATEH,'WEEK','A2')

and this returns for 19-Sep-2008 week 37

But ISO says it should be 38

http://www.personal.ecu.edu/mccartyr/isowdcal.html

The ISO Week Date for 19 September 2008 is: 2008-W38-5.
It is week 38 of year 2008, day 5 of the week, and day 263 of the year.

Does anyone know how to get ISO dates using the webfocus functions?



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report This Post
Virtuoso
posted Hide Post
I remember a thread about this a few months back. There was a setting called WEEKFIRST or something like that which corrected the week number. As for the rest, I don't think that there is a WF date in that format but you could use DOWK or modular division to calculate the day of week and then concatenate year, week number and day back together in an alpha string.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Expert
posted Hide Post
John, it is possible, since v7.6.5.

[CODE] WF 7.6 New Features I find interesting

Read: WebFOCUS 7.6.x New Releases


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report 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     Can WebFOCUS week number be set to return ISO week

Copyright © 1996-2020 Information Builders