I have requirement where we need to capture the received date of the inbound email into a doc that's getting attached in the Work object. The received date of the inbound email is a string and in the format "Mon May 24 02:06:59 UTC 2021".
Tried @DateTime.FormatDateTime() to convert this,
"Mon May 24 02:06:59 UTC 2021" --> 5/24/2021 02:06:59
but it's not working. Can you please suggest if there's any way we can do this conversion?
***Edited by Moderator: Pooja Gadige to change content format from Discussion to Question, add platform capability tags***