Hi,
I am new to R. Please help how to convert the character format to Datetime format. I have the data in Excel. I want to plot a graph. please help me.
str(DB)
Classes ‘tbl_df’, ‘tbl’ and 'data.frame': 52848 obs. of 68 variables: SNAP_ID : num 87030 87030 87030 87030 87030 ...
DATETIME : chr "20190717-18:00:00" >>>>>>>>>>>>>>>>>>>>>>>>>>>>>How to convert it to Datetime format (YYYYMMDD-HH24:MI:SS)