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>
|
|||
|
|
/// <20><><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD>ɷ<EFBFBD><C9B7><EFBFBD>
|
|||
|
|
/// </summary>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
public static int SecondToMinute(int Second)
|
|||
|
|
{
|
|||
|
|
decimal mm = (decimal)((decimal)Second / (decimal)60);
|
|||
|
|
return Convert.ToInt32(Math.Ceiling(mm));
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|