How do I form a new string by selecting characters from an old one?

后端 未结 0 1104
栀梦
栀梦 2020-12-11 12:34

I need to reformat a string which represents the date from DD/MM/YYYY to YYYY/DD/MM. I thought the best way to do this would be to : Declare 3 variables day, month and year.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题