인터넷 시간 추가
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user