Parse date

Hi
I’m trying to run this in Immediate windows DateTime.ParseExact(“16/03/2021”, “dd/MM/yyyy”), System.Globalization.CultureInfo.InvariantCulture)
and I get this Cannot evaluate ‘DateTime.ParseExact(“16/03/2021”, “dd/MM/yyyy”), System.Globalization.CultureInfo.InvariantCulture)’ at current context.

Can you tell me what I’m doing wrong?
Thank you

Hi @valentin.dumitru

Welcome to forum

DateTime.ParseExact(“16/03/2021”, “dd/MM/yyyy”, System.Globalization.CultureInfo.InvariantCulture)

Can u try like this

Regards

Nived N :robot:

Happy Automation :relaxed:

Thank you

Hi @valentin.dumitru

Please mark it as solution if it works you

Regards

Nived N :robot:

Happy Automation :relaxed::relaxed::relaxed:

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