How to get the integer value of day of week

Use

day1 = (int)ClockInfoFromSystem.DayOfWeek;

Leave a Comment