Show just the Year as embedded data | XM Community
Skip to main content
Question

Show just the Year as embedded data

  • April 12, 2021
  • 3 replies
  • 535 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

Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • 2050 replies
  • April 12, 2021

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


vgayraud
QPN Level 6 ●●●●●●
Forum|alt.badge.img+58
  • QPN Level 6 ●●●●●●
  • 544 replies
  • September 22, 2022

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


Forum|alt.badge.img+2
  • Level 2 ●●
  • 6 replies
  • February 12, 2024

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

${date://CurrentDate/Y}