June 18, 2019, 04:12 PM
DipJen[SOLVED] DATEDIF between SQL DATETIME AND CURRENT DATE
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, June 19, 2019, 03:01 AM
Tony AIf you check the document for function calls you would know that they have specific input requirements.
Check them out
hereT
June 19, 2019, 09:11 AM
BabakNYC
DTDIFF(DT_CURRENT_DATE(), REQOPENDATETIME , DAY )