I'm getting the date in a string and it's not always same format, is there a way to detect what format is that date for example:
If data comes like this 2023-12-03 I want to somehow get output like this "%Y-%m-%d", so I know which format is using. This is just an example format date in the string can come also like this 13/02/2023 and the format would be "%d/%m/%Y"