Sorry if this is not a good question. I am working with a time series and I want to convert the integral time format downloaded in a file like "20150710" to the POSIXct time format which is the absolute number of seconds from the origin "1970-01-01" to the time given. My plan is first convert this integral time to some conventional format in character like "2015-07-10", and then use R function as.POSIXct to get the final answer. Right now I have difficulty to convert it into character. Does anyone have any other solution or any idea about my solution?
Many thanks,