title: Finding Compatible Times Across Timezones
body: <p>I'm working on a tournament feature where entrants provide a timezone and a preferred 12-hour window in which they'd like to play. Given that the clock goes 0-24, any two 12-hour windows will at least touch at the ends. I'm stuck on how to pinpoint a workable time given the ranges and UTC offsets for which those ranges are relevant.</p>
  
  <p>Example:</p>
  
  <ul>
  <li><strong>Player A</strong> - Offset: UTC+2 - Range: 0:00 - 12:00</li>
  <li><strong>Player B</strong> - Offset: UTC-3 - Range: 9:00 - 21:00</li>
  </ul>
  
  <p>How can I find the best possible time for a match <em>from both players' perspectives</em>? In a perfect scenario this would be square in the middle of each player's range but obviously that's not achievable in most cases.</p>