Hi,
I am trying to convert date format by using this
DateTime.ParseExact(In_Enddate, “yyyy-MM-dd”, CultureInfo.InvariantCulture).ToString(“dd.MM.yyyy”)
But getting this error
Message Box: Expression Activity type ‘VisualBasicValue`1’ requires compilation in order to run. Please ensure that the workflow has been compiled.
Can anyone help on this error?
lrtetala
(Lakshman Reddy)
May 27, 2024, 4:15pm
2
Hi @jenipriya.chitravel
This issue is caused by double quote except "
(0x22) in Windows project. So, can you try to replace all double quote with "
(0x22)?
Hi,
This issue is caused by double quote except " (0x22) in Windows project. So, can you try to replace all double quote with " (0x22)?
Please also check the following post.
Regards,
Regards,
lrtetala
(Lakshman Reddy)
May 27, 2024, 4:21pm
3
@jenipriya.chitravel
DateTime.ParseExact(In_Enddate, "yyyy-MM-dd", CultureInfo.InvariantCulture).ToString("dd.MM.yyyy")
Regards,
lrtetala
(Lakshman Reddy)
May 27, 2024, 4:25pm
5
@jenipriya.chitravel
Please retype the double quotes not give above expression
DateTime.ParseExact(In_Enddate, "yyyy-MM-dd", CultureInfo.InvariantCulture).ToString("dd.MM.yyyy")
@jenipriya.chitravel
DateTime.ParseExact(In_Enddate, "yyyy-MM-dd", CultureInfo.InvariantCulture).ToString("dd.MM.yyyy")
[image]
Regards,
This worked . Can you explain what changes you made. But i used same format
lrtetala
(Lakshman Reddy)
May 27, 2024, 4:31pm
7
You are using inverted double quotes it is not correct
Use this quotes
lrtetala
(Lakshman Reddy)
May 27, 2024, 4:34pm
8
@jenipriya.chitravel
Glad to be helped. Can you please close the topic by mark it as solved
Forum FAQ - How to mark a post as a solution
This document is part of our beginners guide .
This article will teach you how to properly mark a post as a solution.
We were closely following our last UiPath Forum feedback round! topic and carefully extracted all the bits of feedback that was provided. As such, we would like to tackle the topic of solutions on our Forum and how to properly use them.
When is the topic resolved?
The topic can be considered resolved when the topic author has fo…
1 Like
system
(system)
Closed
May 30, 2024, 4:35pm
9
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.