Skip to main content

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

 

Have you seen this solution?

https://community.safe.com/s/question/0D5Dm00000AN3PNKA1/how-to-calculate-the-last-day-of-previous-month-in-fme


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

image


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

image

thank you very much for your help :)


Reply