Date separator issue

前端 未结 3 1701
小鲜肉
小鲜肉 2021-01-11 11:55

I have the following code

DateTime.Now.ToString(\"MM/dd/yyyy\")

It always gives me this output : \"04.13.2011\" instead of \"04/13/2011\".

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