Convert Minutes To Days - CSharp System

CSharp examples for System:DateTime Day

Description

Convert Minutes To Days

Demo Code


using System;//  w w w .j a  va2 s . c om

public class Main{
        public static double ConvertMinutesToDays(double minutes)
        {
            return TimeSpan.FromMinutes(minutes).TotalDays;
        }
}

Related Tutorials