Actual data in the spreadsheet is as below. I have removed other columns to save space.
EndTime
7/15/2020 9:34:03 AM
8/5/2020 3:19:10 PM
8/10/2020 9:52:58 AM
8/17/2020 8:07:14 PM
9/8/2020 6:11:52 AM
#Reading the spreadsheet "File_Name" from "Report" sheet readSheet<-read_excel("File_Name", "Report")
when I do head(readSheet) , I am getting the following with other columns which is removed here.
EndTime
<chr>
44027.39795~
44023.34152~
44045.35236~
44053.44812~
When I change the column format from Date to Generic in the excelsheet, I get the same values as above. I have also used the col_names and col_types for the above column as "date" but didnt help. I have tried as.Date(), convertToDate(), anydate() and other functions to change the format of date in the dataframe but was not able to convert the format in the read dataframe.