CSharp examples for System:DateTime Second
Convert Second To Minute
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)); } }