How the best time is found
For each city the calculator takes its working hours on its own calendar day, converts them to exact moments with the time-zone database, and keeps the stretches in which both are inside their hours. Because each city is converted separately, daylight saving changes move the overlap the right way, including the few weeks a year when only one of the two has changed its clocks.
Weekends follow local custom: Saturday and Sunday in most countries, Friday and Saturday in much of the Middle East and North Africa, Friday only in Iran and Afghanistan. Switch the option off to include weekends.