问题描述
我正在尝试将英国的输入日期(dd-MM-yyyy)转换为格式(yyyy-MM-dd)
我尝试过
"as": true
但出现错误:
"well": "as"
如何转换此输入日期?输入格式为(dd-MM-yyyy),无法更改。
我可以轻松地从(MM-dd-yyyy)转换,如下所示,但是我无法从(dd-MM-yyyy)转换
"flags": "with values"
我正在尝试将英国的输入日期(dd-MM-yyyy)转换为格式(yyyy-MM-dd)
我尝试过
"as": true
但出现错误:
"well": "as"
如何转换此输入日期?输入格式为(dd-MM-yyyy),无法更改。
我可以轻松地从(MM-dd-yyyy)转换,如下所示,但是我无法从(dd-MM-yyyy)转换
"flags": "with values"