In this post, we will get today’s date and format it to “dd-MM-yyy
“. Add a new assign activity. Create a new variable “todaysDate
“. Enter the following expression in the value.
Date.Now().ToString("dd-MM-yyyy")
This is how it will look like in the UiPath Studio.

I have also added a Write Line
activity to print todaysDate
onto the console.

You must be logged in to post a comment.