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)


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+32
  • 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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings