Hello,
Here is what I’m trying to do:-
- Fetch data from CSV file that has only ID & Date
- Enter ID into WebApp UI & Fetch Date2
- If Date > Date2 then Take action else goto next ID
Issue:-
When fetching the date from the CSV file and printing it in writeline, it shows 1/1/0001 12:00:00 AM. However the date is in mm/dd/yyyy format in CSV.
Approaches tried so far:-
- Excel Loop for CSV file, Use Text datatype for Date column, Add data in datatable, Advanced Loop to print values
- Excel Loop for CSV file, Use DateTime datatype for Date column, Add data in datatable, Advanced Loop to print values
- Convert CSV to XLSX, Excel Loop for XSLX file, Use Text datatype for Date column, Add data in datatable, Advanced Loop to print values
- Convert CSV to XLSX, Excel Loop for XSLX file, Use DateTime datatype for Date column, Add data in datatable, Advanced Loop to print values
All of the above approaches show the same result for date i.e. 1/1/0001 12:00:00 AM. Please note that when converting from CSV to XLSX, the resulting excel file has the date column values in the ‘Date’ format.
Could you please help? I just want to fetch the date (mm/dd/yyyy format) and not date and time both.