How to write a function to convert a Us date to a European date

后端 未结 0 1423
醉话见心
醉话见心 2020-12-01 15:23

I’m currently trying to figure out how can I create a function to translate a US date into a European date. Example: europeanize(‘4/7/14’) returns ‘07/04/12’

My code

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