Issue with Windows framework while parsing date format

Hi
I tried using a simple parse expression in windows framework & its showing below error
“Expression Activity type ‘VisualBasicValue`1’ requires compilation in order to run. Please ensure that the workflow has been compiled.”

Expression used : Date.Parse(“December 18,2022”).ToString(“yyyy-MM-dd”)

Its working in Legacy framework. What am I missing in windows framework for this expression to work.

Thanks

There are already lots of posts about that error. Search the forum. It has to do with the double quotes.

Hello @Divya_Salve

If you need an another approach you can try with Modify Date activity.

Thanks

here: Troubleshooting Guide : Conversion from Windows-Legacy project to Windows project

retype the double quotes and use only: "

Hi @Divya_Salve
To accomplish this, use the “Modify Date” action in UiPath.

Thanks!!

Thank you. It’s with replacing double quotes

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