Convert Seconds To Minutes - CSharp System

CSharp examples for System:DateTime Second

Description

Convert Seconds To Minutes

Demo Code


using System;//  w ww.  ja  va  2  s. co m

public class Main{
        public static double ConvertSecondsToMinutes(double seconds)
        {
            return TimeSpan.FromSeconds(seconds).TotalMinutes;
        }
}

Related Tutorials