String Manipulation on Date format

Hii Please Help ASAP,

I have a datetime string in below format

Thu, 15 Dec 2022 15:43:25 +0530

My desired string is: 15 Dec 2022 15:43:25

Please help me in this i am facing difficulty

Hi @Dummy

Use the modify date action in UiPath to achieve this.

Thanks!!!

1 Like

HI @Dummy

How about this expression?

CDate("Thu, 15 Dec 2022 15:43:25 +0530").ToString("dd MMM yyyy hh:mm:ss")
DateTime.ParseExact(Split("Thu, 15 Dec 2022 15:43:25 +0530","+")(0).TrimEnd,"ddd, dd MMM yyyy HH:mm:ss",System.Globalization.CultureInfo.InvariantCulture).ToString("dd MMM yyyy hh:mm:ss")

image

Regards
Gokul

Thank You so much for your solution.
This is the learning point for me

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.