Daylight Savings Time

Checks if a date is during USA daylight savings time

You are now following this Submission

Function takes a date as a string in 'mm/dd/yyyy' format and outputs a
logical, true if the date is during daylight savings time for that year. See
definition of daylight savings time in the USA

Cite As

Nate (2026). Daylight Savings Time (https://www.mathworks.com/matlabcentral/fileexchange/32263-daylight-savings-time), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0