Commit 8f863cc6 authored by 黄奎's avatar 黄奎

页面修改

parent 8b147012
......@@ -229,7 +229,8 @@ namespace Edu.Common
/// <returns></returns>
public static int CalcMinutes(DateTime start, DateTime end)
{
int minutes=Convert.ToInt32((end - start).TotalMinutes);
int minutes=Convert.ToInt32((end - start).TotalSeconds);
minutes = minutes / 60;
return minutes;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment