How to convert Date format in uipath using dot Net

Hello,
I want to convert Date format in below manner to match the date i am getting in a table:

Example:
From date format - 2020.12.05 (YYYY.MM.DD)

To format - Dec05

Example 2:
From date format: 2020.03.16 (YYYY.MM.DD)

To format: Mar16

Can you help me out in this Using dot net functions in uipath?

Hello @Aditya_Bodhare,

You can try the code below:

Datetime.ParseExact(XMLString.ToString,"yyyy.MM.dd",System.Globalization.CultureInfo.InvariantCulture).ToString("MMMdd")

3 Likes