Date Function | XM Community
Skip to main content
Solved

Date Function

  • April 25, 2023
  • 2 replies
  • 164 views

Forum|alt.badge.img+2

I’m trying to embed the current year in a question. When I pipe text from that Date / Time feature, I don’t see an option that only shows the year. I don’t want it to show, for example, April 25, 2023, I only want to pipe in 2023. 

 

How can I do that? 

 

Best answer by Shashi

Use below pipe text:

${date://OtherDate/Y/+0 day}

 

2 replies

Shashi
Level 8 ●●●●●●●●
Forum|alt.badge.img+34
  • Level 8 ●●●●●●●●
  • 654 replies
  • Answer
  • April 25, 2023

Use below pipe text:

${date://OtherDate/Y/+0 day}

 


Forum|alt.badge.img+2
  • Author
  • 1 reply
  • April 25, 2023

Beautiful! Thanks, I knew there had to be an easy answer!