Convert output to datetime

Hi all!

As shown in the image below I need to determine whether the extracted date is less than the current date. The issue I have is the if doesnt not seem to work, so my question is: How can I convert the ouput from get text to datetime in order to compare with the current date?

@ChrisPals did you get the output of date from get text activity.

@venkatmalla6 yes!

Hi @ChrisPals

this could help


Thanks

1 Like

@ChrisPals datettime.parseexact(datestring.tostring,“dd/MM/yyyy”,system.globalization.culturelinfo.invariantculture) try this once buddy.

2 Likes

If you find this solution as helpful mark this as solution.

Thank you for the responses =D

I used @venkatmalla6’s method and it worked great =D

1 Like

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