%% Determine If Datetime Occurs During Daylight Saving Time

t = datetime(2014,3,7:11,'TimeZone','America/New_York')

%

tf = isdst(t)

% March 10 and March 11, 2014 in the America/New_York time zone occur during daylight saving time.
% Copyright 2015 The MathWorks, Inc.