摘要:
/// /// 是否为日期型字符串 /// /// 日期字符串(2008-05-08) /// public static bool IsDate(string StrSource) { return Regex.IsMatch(StrSource, @"^((((1[6-9]|[2-9]\d)\d{2})-(0?[13578]|1[02])-(0?[1-9]|[12]\d|3[01]))|(((1[6-9]|[2-9]\d)\d{2})-(0?[13456789]|1[012])-(0?[1-9]|[12]\d|30))|(((1[6-9]|[2-9]\d)\d{2})-... 阅读全文
posted @ 2014-03-01 17:13
明天会好
阅读(902)
评论(0)
推荐(0)

浙公网安备 33010602011771号