If you use moment.js and its companion timezome script, they check DST pretty easily:
Check docs for isDST ()
Just for fun, here's a fiddle checking every time zone
if( moment.tz("America/New_York").isDST() ){ $('#test').append('NY is currently in DST'); } else{ $('#test').append('NY is NOT currently in DST'); }
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/moment.js/2.8.3/moment.min.js"></script> <script src="http://momentjs.com/downloads/moment-timezone-with-data.min.js"></script> <div id="test"></div>
source share