CSharp examples for System:DateTime Calculate
Is Tomorrow
using Windows.Globalization.DateTimeFormatting; using System.Threading.Tasks; using System.Text; using System.Linq; using System.Collections.Generic; using System;// ww w. java 2 s .com public class Main{ public static bool IsTomorrow(this DateTime dateTime) { return dateTime.ToLocalTime().Date.Equals(DateTime.Today.AddDays(1)); } }