How to get a date in format dd/MM/yyyy in UiPath - Full Tutorial

preview_player
Показать описание
This video guide, shows you how to get a DateTime/string variable in a desired format. It both shows how to do it with a DateTime variable and a String variable.

You could also watch:

0:05 Present the case
How to get a date in format dd/MM/yyyy in UiPath with .NET

0:29 Getting the current DataTime
In a Write Line we get the current DataTime and write it out as a string with a Write Line. A DateTime is always in the same format, but we can convert a string, meaning that we can take the DateTime and then convert it to a string with the desired format.

2:05 Different DateTime formats
At Microsoft docs we can see all the custom date and time format strings, we can chose from.

2:35 Creating a date as a string
We take our date string, convert it to a DateTime and then convert the date easily. By doing that we are sure, that we always will use the same format.

Connect with me:

#uipath #automation #rpa
Рекомендации по теме
Комментарии
Автор

THX a lot ! I learn a lot from your RPA video and this really helps on solving my problem on changing date format from date extracted from excel table.
Appreciate your hard work on the tutorial on UIpath.

wingcheunghung
Автор

Thank you, Anders, help me a lot with this video

oscarjaviersanchezvillanue
Автор

Thanks! It's works for me. Thank You Very Much!

MASTER
Автор

hello...I need help...
how to get the all the dates from current month in uipath..?

shrutishete
Автор

Hi Anders..i have a question...i am trying to fill a date in this format "MM/dd/yyyy" in a web form. How do i do that because i am using Type into activity (taking data input from an excel file). In this case how do i type the date in this format "MM/dd/yyyy"

sumanmehra