日期:2014-05-17 浏览次数:20932 次
xmlNodeList = xml.GetElementsByTagName("StartTime");
if (xmlNodeList != null && xmlNodeList.Count > 0)
{
start_time = double.Parse(xmlNodeList[0].InnerText.Trim());
}
System.DateTime time = System.DateTime.MinValue;
System.DateTime startTime = TimeZone.CurrentTimeZone.ToLocalTime(new System.DateTime(1970, 1, 1));
time = startTime.Date.AddSeconds(start_time);