Check if a DateTime is a DaylightSavings time
By [)ia6l0 iii
Use the DateTime class's IsDaylightSavingTime method to find if the time is in DayLightSavings
DateTime todayDate = DateTime.Now;
MessageBox.Show(todayDate.IsDaylightSavingTime(todayDate).ToString());
Check if a DateTime is a DaylightSavings time (490 Views)