Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] DATEDIF between SQL DATETIME AND CURRENT DATE
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] DATEDIF between SQL DATETIME AND CURRENT DATE
 Login/Join
 
Member
posted
Hi,
How to do DATEDIF between Datetime field and current date.

tried couple of ways but its not working...
HDIFF( REQOPENDATETIME , &YYMD , 'DAY', 'D12.2')

Trying to add this as define field on report.

Thanks
DP

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
 
Posts: 16 | Registered: July 15, 2016Reply With QuoteReport This Post
Expert
posted Hide Post
If you check the document for function calls you would know that they have specific input requirements.

Check them out here

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5617 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Virtuoso
posted Hide Post
  
DTDIFF(DT_CURRENT_DATE(), REQOPENDATETIME , DAY )


WebFOCUS 8206, Unix, Windows
 
Posts: 1716 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] DATEDIF between SQL DATETIME AND CURRENT DATE

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.