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:
🔵 UiPath - Strings and DateTime Tutorials - • Playlist
🔵 UiPath RPA Beginners Tutorial [2020] - • UiPath RPA Beginners Tutorial [2020]
🔵 Get our 3-hour UiPath REFramework course for free with 2 months of FREE Skillshare Premium - https://geni.us/UaXBu
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:
💼 LinkedIn - / andersjensens
👥 Facebook - / andersjensenorg
💌 Email Newsletter - https://andersjensen.org/email-newsle...
#uipath #automation #rpa