Change date format on input from API

Change date format on input from API

Hi there,
I have an UltiPro API that is working fine however, I am trying to update the AD AccountExpires data value to match the DateLastWorked in UltiPro.

The format of the date filed in UltiPro is YYYY-MM-DDT00:00:00 and I believe the format needed in AD Manager Plus is MM-DD-YY.

What is the best way to change the format of the date so that the automation will populate the AD field correctly?

                New to ADSelfService Plus?