Forum Discussion

PhelanSanders's avatar
PhelanSanders
Qrew Assistant Captain
5 years ago

Need to calculate # of days between Date Created (date/time field) and a Date field titled ""Date of Contact

Need to calculate # of days between Date Created (date/time field) and a Date field titled "Date of Contact"

3 Replies

  • PhelanSanders's avatar
    PhelanSanders
    Qrew Assistant Captain
    Thanks, this works but looks like I need the reverse  - the Date of Contact - Date Created. Gives me an error
    • AustinK's avatar
      AustinK
      Qrew Commander
      Did you swap them exactly as you see them while also keeping the ToDate function attached? If your Date of Contact field is a date/time field then it will need to be wrapped in ToDate as well to make sure it is only a date.

      You did this?

      [Date of Contact] - ToDate([Date Created])