AnsweredAssumed Answered

Date difference from ODBC value

Question asked by Timur on Nov 12, 2017
Latest reply on Dec 21, 2017 by John Messinger

Hi all,

 

I have ODBC Tag value which is giving a Date&Time value. I want to create a logic to calculate how many days passed since Date&Time value.

 

i.e.

Date&Time ODBC Tag >>>> 'LAST-ACCEPTED-WT.LAST_UPDATED_DATE' and giving a date and time: 06 - Nov -17 09:38:21 of last accepted well test date and time.

 

I want 'Now'- 'LAST-ACCEPTED-WT.LAST_UPDATED_DATE' = .... days result, to know how many days past since last accepted well test.

 

Appreciate your help.

 

Thanks

 

Timur

Outcomes