//如下代码可以,把A.TotalSeconds四舍五入到整数就可以,具体自己看帮助吧
System.Globalization.CultureInfo info =
new System.Globalization.CultureInfo("en-US", false);
System.Globalization.Calendar calendar = info.Calendar;
System.DateTime dateTime1 =
new System.DateTime(1979, // Year
07, // Month
28, // Day
22, // Hour
35, // Minute
5, // Second
15, // Millisecond
calendar // Calendar
);
System.DateTime dateTime2 =
new System.DateTime(1979, // Year
07, // Month
27, // Day
22, // Hour
35, // Minute
5, // Second
52, // Millisecond
calendar // Calendar
);
TimeSpan A = dateTime1 - dateTime2;
MessageBox.Show( Convert.ToString( A.TotalSeconds ) );