This operator sets a timestamp on incoming tuples, used for window or outdated calculations. The first method uses `func` on tuple type `T` as
a function to calculate the corresponding timestamp. The second method uses a specified column as timestamp.
This operator assigns a timestamp to incoming tuples, used for window or outdated calculations. The first method uses `func` on tuple type `T` as
a function to calculate the corresponding timestamp. The second method uses a specified column `N` (a number between 0 and NumColumns - 2) as timestamp.
The following two examples show the usage of this operator (with same results on different syntax), both setting the second attribute as timestamp.
```
```C++
typedef TuplePtr<Tuple<int,std::string,int>> Tin;
Topology t;
...
...
@@ -315,7 +315,7 @@ auto s = t.newStreamFromFile("data.csv")