摘要: 1. 字符串转换日期: DateTime.ParseExact(item.Attribute("event-timestamp").Value,"dd.MM.yyyy HH:mm",null).ToString("yyyyMMddHHmmss") 优点:可以应对各种字符串格式,转换成日期格式2.批量... 阅读全文
posted @ 2015-12-03 11:10 深海巨坑 阅读(132) 评论(0) 推荐(0) 编辑