My scenario
My Mule flow reads a file and update Salesforce.
Date field in file - 6/2/2015 5:06:00 AM
It will be updated in a datetime field in Salesforce. I am not able to figure out the mapping in the data mapper. Any pointers please.. Thanks!
1.Right click the field ( Date field) in Data Mapper- In format Option, place your required format example: dd.MM.yyyy
. if it is not working, try the below option
Can also use the script to format Date
output.Required_Date = calendar2str(input.validDate, "dd.MM.yyyy HH.mm.ss");
Please read DataMapper documents for more details
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.