FME Transformers: 2024.2

Categories
Calculated Values
Database
Related Transformers
AttributeRounder
DateTimeCalculator
DateTimeConverter
DateTimeStamper
FME Date/Time Format
FME Date/Time Functions

DateTimeRounder

Rounds a DateTime value’s day, hour, minute, second, millisecond, microsecond, or nanosecond to a specified interval.

Jump to Configuration

Typical Uses

  • Generalizing DateTime values

How does it work?

DateTimeRounder can be used to round the date or time to a specific interval.

For example, you can have the time rounded to 5 minute intervals to keep all events in that timeframe grouped together.

DateTimeRounder can also be used to remove fractional seconds by rounding down to an interval of 1 second.

The input can be a DateTime in either the FME or ISO format. Output is in Standard FME Date/Time Format.

Sub-nanosecond durations are truncated before rounding.

Configuration

Input Ports

Output Ports

Parameters

Editing Transformer Parameters

Transformer parameters can be set by directly entering values, using expressions, or referencing other elements in the workspace such as attribute values or user parameters. Various editors and context menus are available to assist. To see what is available, click beside the applicable parameter.

For more information, see Transformer Parameter Menu Options.

Reference

Processing Behavior

Feature-Based

Feature Holding

No

Dependencies None
Aliases

 

History  

FME Community

The FME Community has a wealth of FME knowledge with over 20,000 active members worldwide. Get help with FME, share knowledge, and connect with users globally.

Search for all results about the DateTimeRounder on the FME Community.