20 lines
442 B
C#
20 lines
442 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace ZWL.Common
|
|
{
|
|
public class TimeParser
|
|
{
|
|
/// <summary>
|
|
/// 把秒转换成分钟
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public static int SecondToMinute(int Second)
|
|
{
|
|
decimal mm = (decimal)((decimal)Second / (decimal)60);
|
|
return Convert.ToInt32(Math.Ceiling(mm));
|
|
}
|
|
}
|
|
}
|