strptime function - RDocumentation
www.rdocumentation.org › 3 › topicsThe format and as.character methods and strftime convert objects from the classes "POSIXlt" and "POSIXct" to character vectors. strptime converts character vectors to class "POSIXlt": its input x is first converted by as.character. Each input string is processed as far as necessary for the format specified: any trailing characters are ignored.