且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

DateTime tryParse问题

更新时间:2023-11-29 13:50:52

当字符串采用这种格式时,它显示tru ...

it shows tru when a string is in this format ...

string date = "yyyy.M.dd";

so

string date = "2011.5.14";

我仍然不知道该怎么做。 ..

I still dont know how to do it ...

也许tryParse有多种格式或者......

maybe tryParse with many formats or ...