Skip to main content
Solved

How To create Date Parameters

  • November 6, 2023
  • 3 replies
  • 296 views

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

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

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

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 :)