How can I display current date in "dd-MMM-yy" format in UiPath Studio?

+1 vote
Mar 18 in RPA by Shilpa
3,206 views

1 answer to this question.

+1 vote

Hi Shilpa, if you want to display current date in "dd-MMM-yy" format, you can simply use the this line in Message Box of UiPath studio:

datetime.Now.ToString("dd-MMM-yy")

answered Mar 18 by Pratibha
• 3,360 points
how about going back to previous day, means minus 1 day

To get previous day, you can try something like this: 

datetime.now.AddDays(-1).ToString(“dd-MMM-yy”)

Mil gracias es justo lo que necesitaba...
Hola Fabian, Me alegro de poder ayudar. No dude en publicar cualquier otra consulta que tenga en la comunidad ...
I want my date should be in 10/SEP/2016.Month name should be capital
Hi, there is no specific format to get month in all capital letters. MMM format would give you month with first letter capital like Sep.

Related Questions In RPA

0 votes
1 answer

How can I change the Input method in a task in UiPath studio?

Hi @Puneet, UiPath studio provides 3 types ...READ MORE

answered Mar 26 in RPA by Anvi
• 13,400 points
392 views
0 votes
1 answer
0 votes
1 answer

How can I pause the execution of a workflow while debugging in UiPath studio?

Hey Pratibha, in UiPath studio you can ...READ MORE

answered Oct 11 in RPA by Abha
• 24,980 points
22 views
0 votes
1 answer

What is Get Jobs activity used for in UiPath Studio?

Hey @Rakesh, Get Jobs Activity can be ...READ MORE

answered Mar 13 in RPA by Abha
• 24,980 points
351 views
0 votes
1 answer

How to format text in notepad using UiPath?

Hey @Rashmi, if you want to automate ...READ MORE

answered Mar 18 in RPA by Anvi
• 13,400 points
1,022 views
0 votes
1 answer

How to check if a string exists in datatable using UiPath?

Hi @Ravi, to check whether a string ...READ MORE

answered Mar 18 in RPA by Anvi
• 13,400 points
1,958 views
0 votes
1 answer

What is Flow Decision used for in UiPath studio?

Hi Smita, Flow Decision activity is a ...READ MORE

answered Mar 19 in RPA by Pratibha
• 3,360 points
1,116 views
0 votes
1 answer