Definition
The unix timestamp transformer randomly generates a unix timestamp in UTC timezone and returns back an int64 representation of that timestamp.
By default, the generated timestamp will always be in the past. To generate a timestamp that is in the future, set the Future
config to true.
Configurations
Depending on your validations, you may want to configure the output unix timestamp. The unix timestamp transformer has the following configuration options:
Name | Description | Default | Example Input | Example Output |
---|---|---|---|---|
Future | Always generates a unix timestamp in the future | false | N/A | 2524608000 |
Examples
Here are some examples of what an output state value may look like.
Future | Example Input | Example Output |
---|---|---|
true | 946684800 | 2524608000 |
false | 761684800 | 946684800 |