Based on my previous answer to you, but use isDaylightSavingTimeForDate:
instead.
NSDate *date; // Store your date 2014-08-08 12:00AM
BOOL dst = [[[NSCalendar currentCalendar] timeZone] isDaylightSavingTimeForDate:date];
Question
For example I have this day 2014-08-08 12:00AM
which is of course, true under daylight saving in the US.. how do I get the value of TRUE
on it?
Solution
Based on my previous answer to you, but use isDaylightSavingTimeForDate:
instead.
NSDate *date; // Store your date 2014-08-08 12:00AM
BOOL dst = [[[NSCalendar currentCalendar] timeZone] isDaylightSavingTimeForDate:date];