Show just the Year as embedded data | XM Community
Question

Show just the Year as embedded data

  • 12 April 2021
  • 3 replies
  • 257 views

Hi - I am trying to pull just the year from the automatic date that the form was completed. I tried modifying the existing Survey Current Date option, but it didn't work.
The built in code said : ${date://CurrentDate/DS}
I changed it to : ${date://CurrentYear/DS}
In my Survey Actions, I am sending an email, and I need just the current year put into an embedded field called Year
Thank you for your help!


3 replies

Userlevel 7
Badge +21

This is a little tedious, but you can look at the Qualtrics Date Time conditions and create different versions for each year.

Userlevel 6
Badge +38

That's old but I was looking for the same.
Try : ${date://CurrentDate/Y}

Badge +1

Any updates to this solution. I tried the above code, and it doesn’t work.

${date://CurrentDate/Y}

Leave a Reply