close
/// <summary>
/// 判斷某日期是否在日期區間內
/// </summary>
/// <param name="dt_keyin">要判斷的日期</param>
/// <param name="dt_start">開始日期</param>
/// <param name="dt_end">結束日期</param>
/// <returns></returns>
private bool IsInDate(DateTime dt_keyin, DateTime dt_start, DateTime dt_end)
{
return dt_keyin.CompareTo(dt_start) >= 0 && dt_keyin.CompareTo(dt_end) <= 0;
}
文章標籤
全站熱搜
留言列表