Skip to main content
Hi,

 

 

Currently my reader read's results in July for June and I have time stamper to disply the date, it displays July date, is there anyway I can have a transformer that will display June date for June results but i always run the workbench in current month for previous month.

 

 

Thank you
Hi,

 

 

I'm unclear your requirement. If you run the workspace at July 31, for example, what date string should be created?

 

 

Takashi
Create an attribute for date with constant value in attribute creator instad of using time stamper.
Takashi, I am running a data that is June and I run the FME on July 1, So when I run it displays results as with July date because I have TimeStamper, but I would like it to display June.

 

 

Pratap, I am bit confused with how attribute creator can give me previous month date.  Since I am very new to FME , I am still learning.

 

 

Thank you

 

 
Does this help you?

 

 

 

See also this article.

 

Formating Dates Using the DateFormatter Transformer (https://knowledge.safe.com/articles/Samples_and_Demos/Formating-dates-using-the-DATEFORMATTER-transformer)
Takashi, It worked.  Thank you so much for all your help!

Reply