I have a little problem with the temporary format. I would like to get the result of the form YYYY-MM-DD if the datetime data is entered as 19901209 , which is 1990-12-09 .
I would also like to know if there is a way to get data in other formats, for example, DD-MM-YYYY or MM-DD-YYYY , taking into account the data generated in the form as indicated, i.e. 19901209 .
Thank you so much in advance.
source share