Convert Second To Minute - CSharp System

CSharp examples for System:DateTime Second

Description

Convert Second To Minute

Demo Code


using System;//w w  w. j  av  a  2s.  c  o  m

public class Main{
        public static int SecondToMinute(int Second)
        {
            decimal mm = (decimal)((decimal)Second / (decimal)60);
            return Convert.ToInt32(Math.Ceiling(mm));
        }
}

Related Tutorials