CSharp examples for System:DateTime Day
Days Between Dates
using System.Globalization; using System;/* w ww . j av a 2s . c om*/ public class Main{ public static int DaysBetweenDates(DateTime start, DateTime end) { return end.Date.Subtract (start.Date).Days; } }