Find out if a DateTime object has DaylightSavingTime
By [)ia6l0 iii
Quickly find if the Datetime object has accounted for Daylight Savings Time.
DateTime trialDate = DateTime.Now;
bool check = trialDate.IsDaylightSavingTime();
The "check" variable would hold the value whether the Daylight savings
time is present for the "trialdate"
Find out if a DateTime object has DaylightSavingTime (554 Views)