CSharp examples for System:DateTime Day
Is Same Day
using System.Globalization; using System;// ww w . j a v a 2 s. co m public class Main{ public static bool IsSameDay (this DateTime t, DateTime dt) { return t.Year == dt.Year && t.Month == dt.Month && t.Day == dt.Day; } }