身份证号截取出生日期

namespace ConsoleApplication23
{
class Program
{
static void Main(string[] args)
{

string s = "370322199501216715";
Console.WriteLine(s.Length);
string sfz = s.Substring(6,8);
Console.WriteLine(sfz);

Console.ReadLine();

}

}

}

posted @ 2016-04-04 20:47  尤痴武  阅读(260)  评论(0编辑  收藏  举报