Beispiel #1
0
 public void TimerFunction()
 {
     while (true)
     {
         string dag = FormatToDA.GetDayOfWeekInDA(System.DateTime.Now.DayOfWeek.ToString());
         TodaysDate = dag + " d. " + DateTime.Now.Date.ToString("dd-MM-yyyy");
         Thread.Sleep(100);
     }
 }
Beispiel #2
0
 public override string ToString()
 {
     return(LoggedDate + " " + FormatToDA.GetDayOfWeekInDA(LoggedDate.DayOfWeek.ToString()) + " " + StartTime + " " + EndTime + " " + Pause);
 }