Skip to main content
FME Hub user alexbiz just uploaded a new transformer to the FME Hub.

The DateRangeFilter custom transformer filters features based on a timestamp attribute and a user-defined date range.

It is designed to work with attributes containing timestamps in the FME Date/Time format.

Overview

Each input feature is evaluated against the specified date range.

Features with timestamps inside the range are routed to the Inside output port, while those outside are routed to the Outside port.

This transformer is useful for workflows where only a subset of features within a certain time window should be processed.

Parameters

DateTime Attribute (FME Format)

Select the attribute that contains the timestamp to evaluate.

The timestamp must be in FME Date/Time format.

From

The start date of the filtering range.

Features with timestamps earlier than this date will be routed to Outside.

To

The end date of the filtering range.

Features with timestamps later than this date will be routed to Outside.

Output Ports

Inside

Features where the timestamp falls within the user-defined range (inclusive).

Outside

Features where the timestamp falls outside the user-defined range.

Example Use Case

Filtering log entries to only keep records from a given day or week.

Selecting events within a specific time frame for reporting or analysis.

Restricting a dataset to features collected during a defined project period.



Would you like to know more? Click here to find out more details!
Be the first to reply!