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

+2 votes
Mar 18, 2019 in RPA by Shilpa
8,914 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, 2019 by Pratibha
• 3,690 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, 2019 in RPA by Anvi
• 14,110 points
1,016 views
0 votes
1 answer
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, 2019 in RPA by Abha
• 27,930 points
650 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, 2019 in RPA by Abha
• 27,930 points
945 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, 2019 in RPA by Anvi
• 14,110 points
3,024 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, 2019 in RPA by Anvi
• 14,110 points
6,238 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, 2019 in RPA by Pratibha
• 3,690 points
2,853 views
0 votes
1 answer
0 votes
1 answer