Solved

Calculating previous dates

  • 24 March 2021
  • 2 replies
  • 55 views

Badge +6

I have a table that has almost 1000 rows, but these rows have a date field. I need to make a filter, which I can only use from today's date the previous 3 days ... however, I have some doubts on how to do a subtraction for example if today is 01/4/2021 (mm / dd / yyyy )

icon

Best answer by ebygomm 24 March 2021, 10:24

View original

2 replies

Userlevel 1
Badge +21

I would format your dates into FME format with a DateTimeConverter then in a tester you can test for if the Date is greater than the DateTimeNow minus 3 days (-P3D). Note that the comparison mode in the tester is set to Date/Time

Capture

Badge +6

I would format your dates into FME format with a DateTimeConverter then in a tester you can test for if the Date is greater than the DateTimeNow minus 3 days (-P3D). Note that the comparison mode in the tester is set to Date/Time

Capture

ThankĀ“s for your attention

Reply