Hello all I have captured date using get-text activity and it is of format, 31.03.2023. How can i change it to this format 31/03/2023?
Regards,
Hardik Durgam.
Hello all I have captured date using get-text activity and it is of format, 31.03.2023. How can i change it to this format 31/03/2023?
Regards,
Hardik Durgam.
You can either use String.Replace(".","/")
or the following:
DateTime.ParseExact(capturedText.ToString,“dd.MM.yyyy”, Globalization.CultureInfo.InvariantCulture).ToString(“dd/MM/yyyy”)
Output:
Hope this helps,
Best Regards.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.