Instant to MS Date Transformer
Transforms an existing Instant to a MS Date format.
Configuration
Section titled “Configuration”| Name | Description | Default value | Mandatory | Expanded |
|---|---|---|---|---|
src | Property containing the source Instant. | N/A | ||
src_pattern | Instant pattern. ISO-8601 format | "yyyy-MM-ddTHH:mm:ss.ffffffZ" | ||
src_tz | Instant time zone. | "UTC" | ||
dest | Property containing the created MS Date | N/A | ||
remove_existing_dest | Flag to remove any value pre-existing in destination-property. To avoid creating a multi-value property. | false |
{ "name": "InstantToMsDateTransformer", "config": { "src": "instant", "src_pattern": "yyyy-MM-ddTHH:mm:ss.ffffffZ", "src_tz": "GMT-1", "dest": "ms_date" }}Special handling of 'Never Expires'
Section titled “Special handling of 'Never Expires'”If the src value is "0" the valve interprets this as an account that never expires. In this case, the output at dest will be set to 9223372036854775807 (0x7FFFFFFFFFFFFFFF)