cancel
Showing results for 
Search instead for 
Did you mean: 

I want to Convert 13MAR23 into 13-03-2023

NishantGaur
Level 2

I want to Convert 13MAR23 into 13-03-2023 via Blue prism calculation stage how can i do this.

3 REPLIES 3

MichealCharron
Level 8

@NishantGaur

The following formula should work for you:

FormatDate(ToDate([Source Date]), "dd-MM-yyyy")

The month abbreviation will be recognized by the ToDate() function and not have a problem converting the string into a Date type. The FormatDate() function can then be used to format it the way that you want.

35981.png
Micheal Charron
RBC
Toronto, Ontario
Canada

Hi Nishant Gaur,

You can try  below format date function

FormatDate("13MAR23", "dd-MM-yyyy")

-----------------------
If I answered your query. Please mark it as the Best Answer

Harish Mogulluri

MichealCharron
Level 8

@NishantGaur

@Harish Mogulluri has the better answer. I forgot that the FormatDate() function will do the casting for you.

Micheal Charron
RBC
Toronto, Ontario
Canada