span8
span4
span8
span4
I am using the following workflow to pass and INSERT in writer all records with datetime "yesterday". Rest all records will be UPDATE based on an ID field. This workflow will be scheduled to run everyday. I am sure my value field to calculate yesterday is not correct! Any guidance will be helpful.
Hi @schatt15
if Lst_Updt_Dt_Tester is the date (or datetime) that needs to be yesterday, the Tester/TestFilter condition should be:
@DateTimeFormat(Lst_Updt_Dt_Tester,%Y%m%d) = @DateTimeFormat(@DateTimeAdd(@DateTimeNow(),-P1D),%Y%m%d)
How do I detect fme_date with the C++ SDK for a custom writer? 3 Answers
Calculate difference in hours between two strings 4 Answers
Filter records based on dynamic values 3 Answers
Calculating 1st of the month from last day of the month 1 Answer
Query A Date Field To Only Return <=90 Days From Current Date 4 Answers
© 2019 Safe Software Inc | Legal