Is Multi Day - CSharp System

CSharp examples for System:DateTime Day

Description

Is Multi Day

Demo Code


using System.Globalization;
using System;/*from w  w  w . ja v a  2s .c o m*/

public class Main{
        public static bool IsMultiDay(DateTime? startDate, DateTime? endDate)
        {
            var result = DaysCount(startDate, endDate) > 1;
            return result;
        }
}

Related Tutorials