Getting error while converting String to datetime

Hi All,
I’m getting an error while converting a string to datetime. i’m getting that string input date from excel i need to convert it into Datetime and need to extract the date.

I tried multiple ways but still i’m getting same error.

I’m attaching my code and Error screenshot below
Main.xaml (9.2 KB)

Date Error
This is the error i’m getting.

Check this well-explained tutorial: All about Datetime - UiPath


You may check this workflow that I attached:

Main.xaml (8.1 KB)

image

Hello @Learner007

You can refer to the below video.

How to Convert String to DateTime in UiPath?| Methods of conversion| Practical demo & Tutorial

Thanks

1 Like

you can check this solution

Main.xaml (9.6 KB)

Thanks @marian.platonov For the detailed solution

Thanks @Ayman_Alabsi1 This is also working for me but i can’t make two topics as solution.

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