인터넷 시간 추가

This commit is contained in:
2016-07-21 00:25:01 +09:00
parent 7aec7e8361
commit bf4dd6a94d
2 changed files with 110 additions and 3 deletions

View File

@@ -37,6 +37,7 @@ namespace upper_limit_crawler
SetDoubleBuffered(tbLog);
UlUtil.Init(tbLog);
//UlUtil.GetServerTime();
btApply_Click(null, null);
@@ -67,7 +68,7 @@ namespace upper_limit_crawler
private bool IsOnTime()
{
DateTime CurTime = DateTime.Now;
DateTime CurTime = UlUtil.GetCurTime();
if (CurTime.DayOfWeek == DayOfWeek.Sunday || CurTime.DayOfWeek == DayOfWeek.Saturday)
return false;