Convert Days To Minutes - CSharp System

CSharp examples for System:DateTime Day

Description

Convert Days To Minutes

Demo Code


using System;/*from  w w w  . j  a v a  2 s. c om*/

public class Main{
        public static double ConvertDaysToMinutes(double days)
        {
            return TimeSpan.FromDays(days).TotalMinutes;
        }
}

Related Tutorials