Skip to main content
Solved

How To create Date Parameters


Hello - I would like to use the attribute creator in FME to generate a StartDate and EndDate. The EndDate should calculate the last date of the previous month and the StartDate should generate the first date of the previous month. There is no data to refence so I would like to identify todays data and then use the logic to get the Start and EndDate.

 

The idea would be to use these dates as parameters when calling an API.

 

Does anyone have any suggestions on how I can implement this.

 

many thanks

 

Best answer by geomancer

Or this way, if you really want to use an AttributeManager / AttributeCreator:

image

View original
Did this help you find an answer to your question?

3 replies

geomancer
Evangelist
Forum|alt.badge.img+48
  • Evangelist
  • November 6, 2023

geomancer
Evangelist
Forum|alt.badge.img+48
  • Evangelist
  • Best Answer
  • November 6, 2023

Or this way, if you really want to use an AttributeManager / AttributeCreator:

image


geomancer wrote:

Or this way, if you really want to use an AttributeManager / AttributeCreator:

image

thank you very much for your help :)


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