Could you please create a reprex to provide us with some of the data you are working with and what you are trying to do to it. A reprex consists of the minimal code and data needed to recreate the issue/question you're having. You can find instructions how to build and share one here:
My first idea would be to use the date formatting function on the strings like this