Change string in a date format to another format

前端 未结 4 1880
独厮守ぢ
独厮守ぢ 2021-01-03 04:42

I have a string like this (YYYYMMDD):

20120225

And I want to have a string like this (MM/DD/YYYY):

02/25/

4条回答
提交回复
热议问题