Format Date in UiPath Studio

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.


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.

Thank you All!!! Hope you find this useful.

Leave a Reply

Up ↑