Skip to main content

I have a 10-year-long dataset that needs to be split by year. The complication in my case is that I need each output year to start from December of the preceding year, i.e. the output filter for year 2019 has to be from 01/12/2018 00:00 to 01/01/2020 00:00. I can't seem to get this to work with AttributeRangeFilter.

Cheers.

I presume you've converted your dates to FME formats and are using that syntax in the AttributeRangeFilter?

 

Personally, I'd probably add a month to each date and then get the year and then filter by that single value.

 

 


I presume you've converted your dates to FME formats and are using that syntax in the AttributeRangeFilter?

 

Personally, I'd probably add a month to each date and then get the year and then filter by that single value.

 

 

I was just going to suggest the same thing. Keep it simple.


That's it! I have converted the original date/time from mm/dd/yy to dd/mm/yyyy, but have not used the FME format.

Everything works like a charm now, thank you muchly!


Reply