Quantcast
Channel: UiPath Community Forum - Topics tagged error
Viewing all articles
Browse latest Browse all 4384

How to change the date format in UIPath

$
0
0

@manzar_ali wrote:

I am trying to read the date from excel and store it in a variable by checking the format using Datetime.TryParseExact.
But it fails PFAS
Capture

I am using this condition to check

if(DateTime.TryParseExact(From, Valid_Date_Formats,System.Globalization.CultureInfo.InvariantCulture,System.Globalization.DateTimeStyles.None,DateTime_PlaceHolder))

Where From is the variable which holds the excel date and
Valid_Date_Formats has the date formats.

How can I solve this?

Posts: 10

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>