日 期:2007-02-07
我想取得:02
用什么方法?
------解决方案--------------------------------------------------------
条条大路通罗马...
"2007-02-07 ".Split(new char[] { '- ' })[1]
DateTime.Parse( "2007-02-07 ").Month
DateTime.Now.Month
------解决方案--------------------------------------------------------
DateTime.Parse( "2007-02-07 ").Month
最简单