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

Show just the Year as embedded data

  • Apr 12, 2021 9:19 PM UTC
  • 3 replies
  • 602 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 ●●●●●●●
  • Apr 12, 2021 9:44 PM UTC

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 8 ●●●●●●●●
Forum|alt.badge.img+68
  • QPN Level 8 ●●●●●●●●
  • Sep 22, 2022 1:29 PM UTC

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


Forum|alt.badge.img+2
  • Level 2 ●●
  • Feb 12, 2024 6:44 PM UTC

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

${date://CurrentDate/Y}