Convert Days To Milliseconds - CSharp System

CSharp examples for System:DateTime Day

Description

Convert Days To Milliseconds

Demo Code


using System;/*from  w  ww . j  a v a2  s.c  o m*/

public class Main{
        public static double ConvertDaysToMilliseconds(double days)
        {
            return TimeSpan.FromDays(days).TotalMilliseconds;
        }
}

Related Tutorials