title: Get Daylight Savings in C++
body: <p>I need to build a function that returns "1" if it's summer time, or "0" for winter.</p>
  
  <p>Just wanted to ask for an algorithm for it to start with or how to start will be helpful.</p>