I would like to know I can define the specific date format in UiPath Taxonomy Manager. By Using taxonomy, we can extract date in pdf but I want to get specific date format. The date format may be different according to different invoices. The date format I want to extract is “dd.MM.yyyy”.
for Example:
yeah bro. If I don’t define date format, I get the date format in pdf. Let the format in pdf is 4-Feb-2020 so I get exactly 4-Feb-2020. I want to get the date format “dd.MM.yyyy” whatever the date format in pdfs. I attached the screen shot of my setting for date format.
Dates don’t have formats. The values you are looking at (ie dd.MM.yyyy) are formats for string output. The issue is you want to convert the strings into actual datetime values, but the string format of the dates is not the same. Best I think you could do is have multiple Parse statements, each one to handle a different format, and see which one doesn’t error out. Whichever one doesn’t error out is the correct format for the current PDF you’re working on. Once converted to datetime you can use YourDateVar.ToString(“dd.MM.yyyy”) to output the datetime as a string with that format.