[C#]將yyyyMMdd格式的字串,轉換成日期格式1 string sDate = "20100504"; 2 DateTime NewDate = DateTime.ParseExact(sDate , "yyyyMMdd", null, System.
確定! 回上一頁