isoDateFormat
def isoDateFormat = {dateTimeString, includeTime = true ->
xxx
}
For dateTimeString, includeTime is the flag that indicates if formatted date values include time values. Default is true.
Example
"svmx_preferred_end_time": "isoDateFormat(fields.SVMXC__Preferred_End_Time__c)"
For transforms for the Date datatype, includeTime must be set to false:
"svmx_preferred_end_date": "isoDateFormat(fields.SVMXC__Preferred_End_Time__c,false)"
Sample Transforms
Data Types
Original Fields
Transformed Fields
Name
Value
Name
Value
All except Date
SVMXC__Preferred_End_Time__c
2020-03-29 16:22:33
svmx_preferred_end_time
2020-03-29T16:22:33.000Z
Date
svmx_preferred_end_date
2020-03-29
For more information:
Was this helpful?