Skip to main content
Question

FORMATTING DATES I can get this to work: @DateTimeFormat(20210127,%Y) = 2021 What I want to do is use the value of an attribute as the date input, like this: @DateTimeFormat(@Value(Date_Installed),%Y)

  • February 5, 2021
  • 2 replies
  • 30 views

FORMATTING DATES I can get this to work: @DateTimeFormat(20210127,%Y) = 2021 What I want to do is use the value of an attribute as the date input, like this: @DateTimeFormat(@Value(Date_Installed),%Y)

2 replies

ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • February 5, 2021

Is the date held in Date_Installed in an FME Format? The syntax that you've posted should work if that's the case.


  • Author
  • February 5, 2021

Thanks for confirming that it should work ... that helped me fix the problem.