Hi evryone,

I try to test the Day of week, when i lunch a Debug line, i get my message but not the day of the week, someone can test ? I think my condition is not respected because if i make a loop up with goto this block the algo.

DateTime dt = Time; if (dt.DayOfWeek == DayOfWeek.Friday && Time.Hour >= 15 && Time.Minute > 56) { Debug("FRRRRRRRRRRRRRRRRRRRR" + dt.DayOfWeek); } if (dt.DayOfWeek == DayOfWeek.Monday && Time.Hour < 9 && Time.Minute < 01 ) { Debug("MMMMMMMMMMMMMMMMONNNN" + dt.DayOfWeek); } if (dt.DayOfWeek == DayOfWeek.Saturday) { Debug("SAAAAAAAAAAAAAAAATTTTTTT" + dt.DayOfWeek); } if (dt.DayOfWeek == DayOfWeek.Sunday) { Debug("SSSSSSSSSSSSSSUNNNNNNNNN" + dt.DayOfWeek); }

Thanks,