2 Replies Latest reply on Sep 27, 2017 5:09 AM by savinmxl

    Subtraction DateTime fields in Boo

    Rookie

      Hello!

       

      Need help to resolve issue with calculations:
      I have two DateTime fields. 1 - CreateDate - time of creation of the Incident, 2 - UpdateDate - time of last updating of Incident.
      So, i need to create new attribute, where i can to calculate difference between 2 and 1 my DateTime fields: UploadDate - CreateDate = X.XX hours, where x.xx - interval between this dates expressed in hours rounded to hundredths.
      So 2 main question: 1) What attribute(i mean which type) i need to create for realize this issue? 2) Can you show example of calculation, maybe not exactly, just like a pattern for work.

       

      TY, hope on you, dear community!