Unable to find "Now" for current Date and Time in UIPATH Studio

image

Hi @dutta.marina ,

Use it as DateTime.Now

Thankyou .I tried with DateTime.Now .It worked. Currently is the “Now” replaced by DateTime.Now?

Both works not sure why it’s not working in your case.

Thanks.

Ok. Thank you

Try again by selecting it from predefined properties as i can see in property of text in right side of your screenhot it is written in small as “now”

I tried but it is not showing.


Do I need to install any dot net packages ?

I have a feeling that whatever package you installed for below activity is interfering with your project. Worth a shot.
image

You can find “Now” by creating the process with compatibility as “Windows - Legacy” instead of Windows. The latter has “Date.Now” instead of “Now”.

Hope it helps.

image