摘要:
下面一段程序,功能是每天定时发送邮件,星期天不执行动作。 1 int actionHour = 08; 2 int currentYear = e.SignalTime.Year; 3 int currentMonth = e.SignalTime.Month; 4 int currentDay = e.SignalTime.Day; 5 int currentHour = e.SignalTime.Hour; 6 7 var ci = new CultureInfo("en-US"); 8 DateTime dt = new DateTime(currentYear, c 阅读全文