HI,
BOT is processing approx. 5 excel files per day. Each file is having structure data, one column is date field. Date field is not consistent in all the files.
Possibility:
File 1: Date format - mm/dd/yyyy
File 2: Date format - dd/mm/yy
File 3: Date format - DD-MM-YYYY
File 4: Date format - MM-DD-YYYY
File 5: Date format - dd-MMM-yyyy
We are using "FormatDateTime (Date, DateFormat)" to get date in one unique format. But since date filed format varies for each file, BOT may produce wrong result or may throw an exception. Is there a way BOT can sense date format from excel file and parse it into desired format without any error?
Thanks.