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.
Hi , I have a requirement where te date format yyyy-mm-dd should be converted to milliseconds. I tried using htime but it is giving me wrong result. Please let me know the function tat wud solve my issue.This message has been edited. Last edited by: Kerry,
How does one convert a particular date to milliseconds? Milliseconds is a duration.
I can tell you how many milliseconds are in one day (1 day = 24 hours = 86,400,000 milliseconds), I can tell you how many milliseconds there are in 24 June, 2011, the same number as in 17 February, 1993 - every day has the same number of milliseconds.
I can tell you how many milliseconds there are between 5 August 2003 and 14 April 2011 - is that what you're looking for?
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
Well this hasn't happened in forever. Welcome LMP - wonder why you did not have to put what version you are using. Thought that was a requirement when registering......
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005
In java the milliseconds of a date is retrieved using Date.getTime() function. The input to this function is a date of format yyyy-mm-dd. I am expecting something similar in webfocus.
For some reason, the base date needs to be near 1970/01/02/20:00:00 to get close to your value of 1,302,494,520,000. My code gives 1,302,494,400,000. So the base date needs to be tweaked by some minutes...
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