How to subtract dates in survey flow | XM Community
Skip to main content
Question

How to subtract dates in survey flow

  • June 20, 2019
  • 1 reply
  • 40 views

Forum|alt.badge.img
I want to find out the tenure unit on an employee. When a person leaves a company, he/she will take the survey as a part of exit process and we will capture the departure date as "Recorded Date". On our contact list, I am passing in the Hired date so I want to subtract the "Recorded Date" - "Hired Date" to get the tenure unit.

1 reply

JenCX
Level 5 ●●●●●
Forum|alt.badge.img+11
  • Level 5 ●●●●●
  • 683 replies
  • June 20, 2019
I've tried a couple ways to use math operations on dates and they don't spit out the way I expect. You may have to use some custom code here instead.