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