//判断程序是否超过指定日期
public static bool IsProcessTimeOut()
{
DateTime dt = DateTime.ParseExact("20200501080000","yyyyMMddhhmmss", System.Globalization.CultureInfo.CurrentCulture);
if (DateTime.Now > dt)
{
return true;
}
return false;
}