Goodmorning,
I have an date read from excel. Now the date is 11-02-2019 but i need to change it to 11-februari-2019.
Someone can help me with this issue?
HI @438654
please follow below link
Thanks
@438654
You can use DateTime.ParseExact("11-02-2019", "dd-MM-yyyy", System.Globalization.CultureInfo.InvariantCulture).ToString("dd-MMMM-yyyy")
Hi @438654,
You can use DateTime.ParseExact
Assuming the date (11-02-2019) is assigned to variable named strDate.
Then you can use the answer @KannanSuresh provided.
But replace the “11-02-2019” to strDate.
Thanks and regards.
It’s giving me that it isn’t a valid DateTime
Can you upload your workflow here? Thanks
Main.xaml (20.7 KB)
Please see this example workflow:
Sequence.xaml (4.5 KB)
The file contains errors
What is the version of your UiPath studio?
2019.4.2
Can you send a screenshot of the error?
BlankProcess38.zip (11.2 KB)
it is still there
Have you tried updating the packages?
hmm which one i have to update?
okay your file is working now. The difference i see is that you assigning an value StrDate to “11-02-2019” my value, for example StrDate, is coming from an Excel file. The value 11-02-2019 is in the excel file with get row. So maybe it’s because the value is an GenericValue?
Okay. Good.
Can you use a message box to view the value of the date from the excel file?