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
Month End Date
 Login/Join
 
Gold member
posted
I have a small logic issue in my fex file where i need to get the month end date of a particular month, then have to find out difference between the above obtained month end date and one more date value

some thing like this

DateDiff("d",,[issues_inc_org_target_date]) < -31

and can someone post the correct syntax of DATEDIF function which returns the difference in number of days.


7.6.4
Unix & Windows
Excel,HTML,PDF,PPT,AHTML


 
Posts: 68 | Location: Hyderabad | Registered: March 18, 2008Report This Post
Expert
posted Hide Post
You can look up the syntax for the DATEDIF (notice only one F) in the Using Functions manual.

You can use DATEMOV to adjust your date to month end. Or you can use Smartdate manipulation to do the same thing.


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
Guru
posted Hide Post
quote:
Originally posted by saggy:

and can someone post the correct syntax of DATEDIF function which returns the difference in number of days.


is there any reason you can't use the help file to find this out?

no matter how simple your question is you'll always get an answer here but is it worth the wait when you can fire up the help file, enter the fucntion name in the search and read the articles that come up about it?

you don't even need the documentation for alot of basic WF functions, the info is literally right in front of you

just trying to help you help yourself...


Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
 
Posts: 285 | Location: UK | Registered: October 26, 2007Report This Post
Expert
posted Hide Post
And if you use a text editor like EditPlus, you can have the correct function syntax automatically inserted into the code as soon as you type the function name - something Developer Studio text editor still cannot do.


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
Virtuoso
posted Hide Post
The solution depends also on the input field.

If that is a smartdate field that is somewhere in the database the DATEMOV works direct and very easy.
If it is something you key in from a prompted field like AUG or SEP or 11 or 7 you have to use some extra formulas.

There is a great book that explains this all.




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
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders