and more in a single search tool across platforms. Read the announcement here. |
10/11/2022 10:51 AM
Hi Team,
We have a requirement to send the end date of the user in the format of ('YYYY-MM-dd') as a part of the disable account JSON for an application. But as in the data analyzer we could see the time stamp along with the date in the end date attribute.
Can you please help me in formatting the attribute by using which I can truncate the time stamp and obtain only the date in the above mentioned format
10/11/2022 11:20 AM
${if(user.enddate!=null){new java.text.SimpleDateFormat('YYYY-MM-dd').format(user.enddate)}else{''}
Refer : https://forums.saviynt.com/t5/general-discussions/change-date-format/m-p/2298#M436
10/11/2022 11:28 AM
Hello @Debankita ,
Here is similar requirement on the below post , which might help.
https://forums.saviynt.com/t5/general-discussions/change-date-format/m-p/2298