Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/14/2024 06:38 AM
Hello Team,
I want to store effectivestartDate and effectiveendate in CP4,CP5 respectively for account, the format should be 'MM-dd-yyyy'
Now I searched forum as specified below and got similar solution but I am unable to set specific Date format
Tried following which store date incorrectly, as I want to convert it to 'MM-dd-yyyy', this is REST connector account Import, please guide
"globalSettings": {
"dateFormat": "MM-dd-yyyy'T'HH:mm:ss"
},
Thanks
Mahesh
06/14/2024 07:15 AM
Hi @mbh_it1 , could you also mention the format you are receiving from app end?
06/14/2024 07:17 AM
Hi @NM
following is the format I am receiving data if I dont do any formatting and store to CP, it looks as below
Thanks
06/15/2024 10:14 PM
#CONST#${new SimpleDateFormat('MM-dd-yyyy').format(new SimpleDateFormat('yyyy-MM-dd\'T\'HH:mm:ss').parse(data.effectiveDate))}~#~char"