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     Q:How to find out the last date of the month?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Q:How to find out the last date of the month?
 Login/Join
 
Member
posted
Hi,
Like the subject said, is there any way to get the last date of the current month? So for instance current month is May 2008 the last date would be 31 and February 2008 would be 29, thanks~


7.1.3 on XP into HTML, Excel, PDF
 
Posts: 27 | Registered: April 15, 2008Report This Post
Expert
posted Hide Post
Use the DATEMOV function.

Dialogue Manager:

-SET &DT_EOM = 
- DATECVT(( DATEMOV((DATECVT(&YYMD,'I8YYMD','YYMD')),'EOM')),
- 'YYMD','I8YYMD');

-TYPE &DT_EOM


FOCUS:

TABLE FILE CAR
SUM
SALES
COMPUTE DT_EOM/YYMD=DATEMOV('&YYMD', 'EOM');

BY COUNTRY
END


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
Member
posted Hide Post
Thank you~


7.1.3 on XP into HTML, Excel, PDF
 
Posts: 27 | Registered: April 15, 2008Report This Post
Virtuoso
posted Hide Post
Yuuta

BTW this is available in the manual.
If you would take a look you will find more functions like this one.
To move to begin or end of Week, Quarter, Year
to move to next Business day and many more.
Sometimes manuals are worth to be used....




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Member
posted Hide Post
I know, I know... but my company lost the manual years ago(I just got onboard less than 3 months ago) and I don't know where to look for a replacement.


7.1.3 on XP into HTML, Excel, PDF
 
Posts: 27 | Registered: April 15, 2008Report This Post
Expert
posted Hide Post
Yuuta,

There is a very good link at the top right of each forum page entitled "Search the Technical Documentation Library" which opens in a new window. From here you can search for past postings on the Forum or a direct search on the IB Tech DOcs or a combination of both sources.

Alternatively, there used to be a CD with all the documentation for a platform and release available. I always have one close to hand as I then don't require internet access to check the manual.

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
Expert
posted Hide Post
Yuuta,

You will need the "Using Functions" manual for this topic. Do what Tony said and download that one and the language manual at minimum.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Master
posted Hide Post
If you are using dev studio, it part of the online help. Just:
Click on Help/Contents;
Click the + next to Developer Studio Online Help;
Click the + next to WebFOCUS 7 Languange Documentation;
Click the + next to Using Functions V7.13.


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
Master
posted Hide Post
I would recommend Creating Reports with WebFocus Language, WebFocus Graphics, Describing Data and Using Functions at minimum. If you are doing any administrative work get the administrators guide as well. PDF downloads are free, printed copies you have to pay for.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
Expert
posted Hide Post
As a matter for course I saved copies of all the PDF's and have links to the online manuals available, you never know when you'll need them.

But the most used manual is Using Functions


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 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     Q:How to find out the last date of the month?

Copyright © 1996-2020 Information Builders