there.
I have a number 20220112 which i need to convert this number to string which will look like this
2022-01-12
Maybe anone knows is there are some patterns in JS which i could use for easy convertation?
Something like const date = patetn(****-**-**) ?