Exemplo n.º 1
0
        public static bool CompareListCreateTimeWithTimeNow()
        {
            //int i = DateTime.Compare(t1, t2);
            //if t1 is less than t2 then result is Less than zero
            //if t1 equals t2 then result is Zero
            //if t1 is greater than t2 then result isGreater zero

            int cmp = DateTime.Compare(DateConvertor.TimeNowFull(), Convert.ToDateTime(RetListCreateTime().AddMinutes(1)));

            if (cmp > 0)
            {
                return(true);
            }
            return(false);
        }
Exemplo n.º 2
0
 public static void SetListCreateTime() => TimeListCreateTime = DateConvertor.TimeNowFull();