How to convert string to date ("dd/mm/yyyy")

Hello,

i have a string closing date=“2511212019” . i would like to convert it to 25/12/2019 .

please suggest me how would i achieve this . please note that my closing date var is string type.

thanks in advance

“2511212019”.substring(0,2)+"/"+“2511212019”.substring(3,2)+"/"+“2511212019”.substring(6,4)

thank you so much…

Most Welcome!!!

Happy Automation :partying_face: :blush:

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