CSharp examples for System:DateTime Calculate
Is Between DateTime
using System;/*ww w. jav a 2s .c om*/ public class Main{ public static bool IsBetween(this DateTime dateTime, DateTime startDate, DateTime endDate) { return dateTime >= startDate && dateTime <= endDate; } }