Find out if a DateTime object has DaylightSavingTime

By [)ia6l0 iii
INSTANTLY dtSearch TERABYTES OF POPULAR DATA TYPES; hundreds of reviews, etc.!

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  (393 Views)